Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Way to tell if property set on form different from defau
Message
 
 
À
09/01/2008 13:59:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01280643
Message ID:
01280647
Vues:
19
>Hi everyone,
>
>I have my base editbox class that has the default ToolTipText property set to "Right-Click to Zoom". But additional code in the .Init() sets this to blank if the edit box is .Enabled = .F. or .ReadOnly (as the tip is not then applicable, at least in my app).
>
>
>IF THIS.Enabled = .F. OR THIS.ReadOnly = .T.
>   THIS.ToolTipText = ""
>ENDIF
>
>
>
>But I did not want to nuke out the tool tip if I have explicitly set it on my form to something else e.g. "Customer Notes".
>
>Is there a way I can test to see if the current tooltip has been changed from the default and then leave it alone if it has?
>
>Thx.
>Albert

Albert,

I think the function you're thinking of is PEMSTATUS, please check it in Help for details.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform