English
Forum

Tooltip enable\deaktivieren

 
- Page 1 -



Julian
Schmidt
Hi,
i'd gladly a Tooltip on a Control enable or. deaktivieren.
yet have I it erfolglos over Showwindow, EnableWindow & Settext probiert.
How can the manage (except of Delete\Wiedererstellen the Tooltips)?
CLS
Var static&=Create("Text",%hwnd,"",10,10,195,20)
Var button&=Create("Button",%hwnd,"Change Status",10,40,195,30)
Var ttip&=Create("Tooltip",%hwnd,%hwnd,"Tooltip-Text")
Var status&=1
Settext  static&,Str $(status&)+" = Tooltip becomes "+If(status&=1,"ein","aus")+"geblendet"

WhileNot iskey(27)

    Waitinput

    If getfocus(button&)

        status&=hardship(status&)
        'Showwindow(ttip&,status&)
        'EnableWindow(ttip&,status&)
        SetText ttip&, If(status&=1,%hwnd,0),If(status&=1,%hwnd,0), "Tooltip-Text"
        Settext  static&,Str $(status&)+" = Tooltip becomes "+If(status&=1,"ein","aus")+"geblendet"
        Setfocus(%hwnd)

    Endif

EndWhile


LG

Julian57
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/08/12  
 



« this Posting watts as Solution marked. »


Jörg
Sellmeyer

CLS
Var static&=Create("Text",%hwnd,"",10,10,195,20)
Var button&=Create("Button",%hwnd,"Change Status",10,40,195,30)
Var ttip&=Create("Tooltip",%hwnd,%hwnd,"Tooltip-Text")
Var status&=1
Settext  static&,Str $(status&)+" = Tooltip becomes "+If(status&=1,"ein","aus")+"geblendet"

WhileNot iskey(27)

    Waitinput

    If Clicked(button&)

        status&=hardship(status&)
        SetText ttip&,%hwnd,%hwnd,If(status&, "Tooltip-Text","")
        Settext  static&,Str $(status&)+" = Tooltip becomes "+If(status&=1,"ein","aus")+"geblendet"
        Setfocus(%hwnd)

    Endif

EndWhile

 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/09/12  
 




Julian
Schmidt
ergänzend moreover [...] 


 
XProfan X2
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/09/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.414 Views

Untitledvor 0 min.
Uwe Lang03/04/21
Normann Strübli03/31/20
Ernst05/15/16
Walter02/03/16
More...

Themeninformationen

this Topic has 2 subscriber:

Julian Schmidt (2x)
Jörg Sellmeyer (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie