Specifies the text that appears as a ToolTip for an Ocx control. Available at design time and run time.
Object.ToolTipText = Txt
Object:Ocx Object
Txt:sexp
Specifies the text to use for the ToolTip. When the ToolTipText is assigned a value, a tooltip will be displayed when the mouse hovers over the object. The maximum number of characters you can specify for Txt$ is 79.
OpenW Center 1, , , 300, 120
Local Int32 x = (300 - (Screen.cxFrame * 2) - 120) / 2, y = (120 - (Screen.cyFrame * 2) - Screen.cyCaption - 22) / 2
Ocx Command cmd = "OK", x, y, 120, 22 : cmd.ToolTipText = "Press to close window"
Do : Sleep : Until Win_1 Is Nothing
Sub cmd_Click
Win_1.Close
EndSub
You can use this property to explain each object with a few words.
{Created by Sjouke Hamstra; Last updated: 25/10/2014 by James Gaite}