|
-
Jun 3rd, 2004, 06:51 AM
#1
Thread Starter
Hyperactive Member
Detecting text styles in a richtextbox
Hi folks,
I have a richtextbox the player can type in, I also have buttons to add text styles (bold, underline, italic), these work pretty well, what I would like though is the buttons to react when the text cursor is over text with a text style, a bit like MS word.
Basically, i need to check where the cursor is, read the word it's on, if it has a bold text style, have the bold button depressed, of if it has both bold and italic, have both buttons depressed..
I hope that makes sense! Any help appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|