[Module] ToolTipEx - Module (all OS)

Hier könnt Ihr gute, von Euch geschriebene Codes posten. Sie müssen auf jeden Fall funktionieren und sollten möglichst effizient, elegant und beispielhaft oder einfach nur cool sein.
Benutzeravatar
Thorsten1867
Beiträge: 1359
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

[Module] ToolTipEx - Module (all OS)

Beitrag von Thorsten1867 »

Extended ToolTip - Gadget (all OS / 64Bit / DPI)

Dank des Codes von mk-soft können nun auch ToolTips für andere Gadgets als das CanvasGadget angezeigt werden.

Improved tooltips for all gadgets.
  • multiline tooltips (#LF$)
  • optional title bar
  • possibility to define an area on the gadget

Code: Alles auswählen

; ToolTip::Gadget()       - Add tooltip gadget
; ToolTip::SetAttribute() - similar to SetGadgetAttribute()
; ToolTip::SetColor()     - similar to SetGadgetColor()
; ToolTip::SetContent()   - set tooltip text & title and define tooltip area
; ToolTip::SetFont()      - similar to SetGadgetFont()
; ToolTip::SetState()     - activates/deactivates tooltip
Download: ToolTipExModule.pbi
Zuletzt geändert von Thorsten1867 am 23.11.2019 16:15, insgesamt 1-mal geändert.
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild
Benutzeravatar
mk-soft
Beiträge: 3695
Registriert: 24.11.2004 13:12
Wohnort: Germany

Re: [Module] ToolTipEx - Module (all OS)

Beitrag von mk-soft »

Sieht gut aus :allright:

Habe aber für die X-Position des Tooltip für Reverse noch 6 abgezogen, das sonst der Tooltip den Button Blockiert...

Zeile 358

Code: Alles auswählen

ToolTip()\Size\X = X + gX - ToolTip()\Size\Width - 6
Alles ist möglich, fragt sich nur wie...
Projekte ThreadToGUI / EventDesigner V3 / OOP-BaseClass-Modul
Downloads auf MyWebspace / OneDrive
Benutzeravatar
Thorsten1867
Beiträge: 1359
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

Re: [Module] ToolTipEx - Module (all OS)

Beitrag von Thorsten1867 »

Update: ToolTipp ist nun ein eigenes Fenster und nicht nur ein Gadget
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild
Benutzeravatar
Thorsten1867
Beiträge: 1359
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

Re: [Module] ToolTipEx - Module (all OS)

Beitrag von Thorsten1867 »

Bugfixes
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild
Antworten