Hello,
Is there a way to have the status bar automatically show the hint from the control the user is hovering over?
I figured out how to make the individual controls show the hover hint, but it disappears a bit quickly and I would rather it show in the status bar, if possible.
I found AutoHint = True.. But it doesn't seem to do anything.
StatusBar AutoHint
Moderators: Dorian (MJT support), JRL
- Dorian (MJT support)
- Automation Wizard
- Posts: 1380
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: StatusBar AutoHint
In your statusbar properties, ensure SimplePanel=True.
Then you can use AddDialogHandler and SetDialogProperty for when the mouse enters and leaves each object.
There are other options in addition to OnMouseEnter and OnMouseLeave. For a list of possible event names edit the dialog in the Dialog Designer, right click on an object and select "List Event Names"
Then you can use AddDialogHandler and SetDialogProperty for when the mouse enters and leaves each object.
Code: Select all
AddDialogHandler>Dialog1,MSButton1,OnMouseEnter,HintButton1ON
AddDialogHandler>Dialog1,MSButton1,OnMouseLeave,HintButton1OFF
SRT>HintButton1ON
SetDialogProperty>Dialog1,StatusBar1,SimpleText,MyHint
END>HintButton1ON
SRT>HintButton1OFF
SetDialogProperty>Dialog1,StatusBar1,SimpleText,
END>HintButton1OFF
Yes, we have a Custom Scripting Service. Message me or go here