|
-
May 10th, 2006, 10:14 PM
#1
Thread Starter
Junior Member
[RESOLVED] Tooltip, hand cursor in rich text box
Good day,
Using a rich text box, I select certain words that I recolor to blue and underline, to give the "hyperlink" appearance. A sample text might appear as follows:
Last week, Smith taught Jones how to program in VB6.
Now for the highlighted text, I would like to add a custom tooltip and a custom cursor (I'm using hand.ico). The problem is that the .tooltiptext and .mouseicon properties of the rich text box apply to the whole box, whereas I only want to fire the tooltip and hand cursor when the mouse hovers over the selected text.
One more problem: The text string is being fed in by the application, so I do not want the user to be able to edit it. But when you set the .enabled property of the rich text box to 'false', tooltips and custom cursors also get disabled.
As always, thanks for any help you can provide.
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
|