• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1777
  • Last Modified:

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?
0
McGurk1
Asked:
McGurk1
  • 3
  • 2
1 Solution
 
jppintoCommented:
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

0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
is there a RichTextbox in rdlc toolbox?
0
 
McGurk1Author Commented:
I have not been able to find a richtextbox.  Is there a way to add it in?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
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...
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
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
0
 
McGurk1Author Commented:
I found when using the rdlc in VS2008 I could not bold but using the rdl from SSRS 2008 it has the capability so went that direction
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now