Hover help or tool tip

54 views
Skip to first unread message

Louis LaBrunda

unread,
Feb 10, 2012, 11:30:04 AM2/10/12
to va-sma...@googlegroups.com
Hi,

I would like to create and display a hover help over a multi line edit field that normally doesn't support it.  If there is some way to use the existing hover help with this field, that would be great.  If not, I think I can catch the mouse over event to know when and where to display the hover help but I'm not sure what object to use to create the hover help or how to tell it to display itself.  Any ideas are greatly appreciated.

Lou

Alex Greber

unread,
Feb 16, 2012, 9:05:45 AM2/16/12
to va-sma...@googlegroups.com
Hi.
 
Maybe this helps:
1. on parent of multiline (e.g. on the form): setting "hoverHelpEnabled= true"
2. event to script: hoverHelpRequested (e.g. on form) -> setHoverHelpText: callData
3. implement setHoverHelpText: callData
setHoverHelp: callData
   callData item name = 'Multi-line Edit1' ifTrue: [callData labelString: 'Hello'].
Regards
Alex

Louis LaBrunda

unread,
Feb 16, 2012, 4:50:13 PM2/16/12
to va-sma...@googlegroups.com
Hi Alex,

Thanks for the help.  I had kludged up something that worked but I like your suggestion much better.

Lou
Reply all
Reply to author
Forward
0 new messages