Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cycle through all controls on a form
Message
From
29/03/1999 22:56:13
 
 
To
29/03/1999 22:36:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00202262
Message ID:
00203282
Views:
24
>>Thanks Eric, I tried this code and got the error No database is open or set as the current database. I have the database open ( Hmmmm )
>>
>
>If this is a private datasession, you'll have to open the database in the form.load or the DE.BeforeOpenTables event. Then the ode will work.
>
>
>>I can referene the "Comment" property of the text box because I dragged it onto the form and "copy field comments" is set in options... but if I change the comments, it won't show up in my tooltip... Any ideas?
>
>Yeah, this is a sketchy solution at best. Only works for dragged controls and as you said, doens't change with dbc changes because the property is filled when the control is dragged and never again. I highly recommend a strategy like the one above. YOu can put code in your form class' load event to make sure it always works by opening the Database.

Yep, I got that method working Ok. I think I'll stick with it...

Thanks to all for your help ( yet again )
Previous
Reply
Map
View

Click here to load this message in the networking platform