Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cycle through all controls on a form
Message
From
27/03/1999 01:24:06
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00202262
Message ID:
00202686
Views:
33
>Is it possible to cycle through all text box controls on a form and set their tooltip property based on the field comments defined in the DBC?
>
>TIA

Don't cycle through them, let your textbox class do it in it's init event:
IF MEPTY(THIS.toolTipText) AND !EMPTY(THIS.ControlSource)
    THIS.ToolTipText = DBGETPROP(THIS.ControlSource, "Field", "Comment")
ENDIF
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform