Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Richtextbox.selbold = boolean
Message
 
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00568191
Message ID:
00568288
Vues:
16
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform