Link to home
Start Free TrialLog in
Avatar of McGurk1
McGurk1Flag for United States of America

asked on

VS 2008 bold selected text in Report file textbox

In creating reports using Visual Studio 2008 Report file (.rdlc), is there way to bold a word in sentence in a text box without bolding the rest of the sentenct?
Avatar of jppinto
jppinto
Flag of Portugal image

Try using a RichTextBox. Here's a sample code:

jppinto
Private Sub Form_Load()
 RTB.SelStart = 4
 RTB.SelLength = 4
 RTB.SelBold = True
 RTB.SelStart = Len(RTB.Text)
End Sub

Open in new window

is there a RichTextbox in rdlc toolbox?
Avatar of McGurk1

ASKER

I have not been able to find a richtextbox.  Is there a way to add it in?
There is no such a control in Rdlc..
But with a textBox You cannot do that.  A Textbox has one Font property that applies to
all of the text.
What Kind Of text do you want to pass in your report...
read this
"The Report Viewer control and integrated report designer in VS 2008 are still based on the RDL 2005 format, and will be updated for the VS 2010 release to the RDL 2008 format."
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/001ab55a-0798-4801-8593-aea61db121ab
ASKER CERTIFIED SOLUTION
Avatar of McGurk1
McGurk1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial