Tooltip
-
There is any way to show a tooltip within the need of stop the mouse over a control? For example show the tooltip when a timer counts to 5 seconds... Thanks
-
There is any way to show a tooltip within the need of stop the mouse over a control? For example show the tooltip when a timer counts to 5 seconds... Thanks
Yes. Use the Tooltip control. Add it to the form. Then to add the tooltip: myTooltip.SetToolTip(MyControl,"This is the text") where myTooltip is the tooltip you created above and myControl the one you want the message associated with. If you look in the doc you can also specify the timing.
-
Yes. Use the Tooltip control. Add it to the form. Then to add the tooltip: myTooltip.SetToolTip(MyControl,"This is the text") where myTooltip is the tooltip you created above and myControl the one you want the message associated with. If you look in the doc you can also specify the timing.
Yes, I know. But this tooltip will show when user stops the cursor over the control. I want to show it with no action from the user. Thanks anyway
-
Yes, I know. But this tooltip will show when user stops the cursor over the control. I want to show it with no action from the user. Thanks anyway
You really have to read the documentation for the Tooltip[^] class. There are properties that let you control how fast the Tooltip shows up (by default, a half second), how long it stays displayed, and others. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You really have to read the documentation for the Tooltip[^] class. There are properties that let you control how fast the Tooltip shows up (by default, a half second), how long it stays displayed, and others. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
But that I want is to show the tooltip without the cursor. Maybe I'm not explaining well... I'm reading the link you share and in one of the first lines says "The ToolTip class allows you to provide help to users when they place the mouse cursor over a control." I think that this explanation answer my question. It's not posible to show the tooltip if the cursor don't moves over him.
-
But that I want is to show the tooltip without the cursor. Maybe I'm not explaining well... I'm reading the link you share and in one of the first lines says "The ToolTip class allows you to provide help to users when they place the mouse cursor over a control." I think that this explanation answer my question. It's not posible to show the tooltip if the cursor don't moves over him.
ecentinela wrote: It's not posible to show the tooltip if the cursor don't moves over him. Nope. That's not the defined behavior of the ToolTip component. If you want Tooltips showing over all of your controls without the mouse being anywhere near them, you'll have to draw the ToolTips yourself. This is not a good idea though. You'll end up cluttering your user interface with all kinds of information that the user doesn't need when they become familiar with your app. Think of if this way. Have you ever seen a Windows application that does this? Why not? Because the user interface was (hopefully!) well thought out to begin with. It should be intuitive to use without all the help showing on every control. If you want to show a little help with whatever control the mouse passes over, other applications tend to put a short message in the status bar of the application window describing the functionality of that control. The Windows user experience should be consistant acrossed all, or most, of the applications the user runs. If you deviate from the accepted, and more importantly defined norm's in the Windows User Interface Design Guide, you'll end up confusing the user more than you think you're helping them. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome