|
-
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.
-
Jun 9th, 2004, 02:35 AM
#2
Lively Member
similarly, i want to know something like this. but i'm new so i just want to know how to do [something like ctrlb to bold the selected text, etc...]... anyone?
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
|