DDgui Programmers Reference Guide by Nicholas J. Kingsley - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Tool-Tips

 

Tool-tips allows the user to be given succinct information when the user moves over a widget.

 

A tool-tip  is created using :

 

DDgui_set(id$, “TOOLTIP”, text$)

 

id$ is the ID of the widget that you want to create a tool-tip for.  text$ is tool-tip text that you want to be displayed.

 

An example of using this is :

 

DDgui_set("t1","TIPTEXT","This is a button that has 'moo' in it")

 

Which looks like :

 

img40.png

 

The tool-tip is displayed until the user moves the mouse away from the widget