GadgetTooltip

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

GadgetTooltip

Post by wombats »

On the TextGadget page, it says GadgetTooltip only works on Linux. However, it also works on macOS (I have only tested on Mojave):

Image

Code: Select all

If OpenWindow(0, 0, 0, 270, 160, "TextGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  TextGadget(0, 10,  10, 250, 20, "TextGadget Standard (Left)")
  TextGadget(1, 10,  70, 250, 20, "TextGadget Center", #PB_Text_Center)
  GadgetToolTip(0, "The help says I won't work, but I do!")
  GadgetToolTip(1, "So do I!")
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Also, TextGadget is not listed on the GadgetToolTip page.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GadgetTooltip

Post by Andre »

If GadgetToolTip() officially works for TextGadgets in PB, then it should be added in the docs. But that's something Fred should know...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply