>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