Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Richtextbox.selbold = boolean
Message
From
14/10/2001 12:22:04
 
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00568191
Message ID:
00568288
Views:
15
Hi!

Text property of RTF conrol represents a text content without ANY formatting. Assigning to this porperty, as expected, assigns just text - without formatting. To add some text better assign to the SelRTF property, or use RTFText property so text you get is formatted (as far as I remember property names).

HTH.

>here's my problem
>
>
>With IRCform.ActiveForm.txtOutput
>   .Text = IRCform.ActiveForm.txtOutput.Text & ">>> VERSION"
>   'add ">>> VERSION" to richtextbox
>   'select text "VERSION"
>   .SelStart = Len(IRCform.ActiveForm.txtOutput.Text) - 7
>   .SelLength = 7
>   'bold text "VERSION"
>   .SelBold = True
>   'add some text after the bolded "VERSION"
>   .Text = .Text & " requested by " & nick & " <<<"
>   '&¤!#%"!& the "VERSION" text isn't bold anymore :/
>End With
>
>
>so you got the idea? could someone tell what's wrong, or a similar way of doing this...
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform