Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Way to tell if property set on form different from defau
Message
 
 
To
09/01/2008 13:59:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01280643
Message ID:
01280647
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform