Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controls to display ToolTip in statusbar class textbox
Message
De
23/02/2006 09:16:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01098413
Message ID:
01098469
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>Hi all
>
>I have a statusbar class which has a textbox for display purposes. I want my controls to display the tooltip as the value for the textbox in the statusbar, when the control getfocus() and remove the same when lostfocus().
>
>That per se is simple, but the complication start when not all forms have statusbar class, only the data-entry form class has the statusbar, but the controls are common and used throughout the application. I know I can do a type() to find out the statusbar exists or not but that leads to an if condition and a VFP function call.
>
>Any efficient method to do this?

Thisform.SetAll('__statbartip',this.ToolTiptext)

* StatBar has __statbartip property with assign method that assigns text to the relevant panel's text.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform