GadgetToolTip()
Syntax
GadgetToolTip(#Gadget, Text$)Description
Associate the specified Text$ with the #Gadget. A ToolTip text is text which is displayed when the mouse cursor is over the gadget for a small amount of time (typically a yellow floating box).
The following gadgets are supported:
- ButtonGadget()
- ButtonImageGadget()
- CalendarGadget()
- CheckBoxGadget()
- ComboBoxGadget()
- ContainerGadget()
- DateGadget()
- EditorGadget()
- ExplorerListGadget()
- ExplorerTreeGadget()
- HyperLinkGadget()
- ImageGadget()
- IPAddressGadget()
- ListIconGadget()
- ListViewGadget()
- MDIGadget()
- OptionGadget()
- PanelGadget()
- ProgressBarGadget()
- ScrollBarGadget()
- SpinGadget()
- SplitterGadget()
- StringGadget()
- TrackBarGadget()
- TreeGadget()
Example:If OpenWindow(0,0,0,270,100,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"GadgetTooltip") And CreateGadgetList(WindowID(0)) ButtonGadget(0,10,30,250,30,"Button with Tooltip") GadgetToolTip(0,"Tooltip for Button") Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow EndIf
Supported OS
All