Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I make controls initialize after the form ?
Message
 
To
10/06/1998 12:31:49
Jeroen Naus
Harte-Hanks Europe
Hasselt, Belgium
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00106819
Message ID:
00107099
Views:
14
>I create a cursor in the init phase of the form. If the init phases of my controls fire, I'm getting errors that the controlsource doesn't exist yet because the init of controls is before the init of the form. I can solve it by setting the controlsource of the control in the init fase of the form. How can I do this without this trick. I need this because I want us to be able and past controls (from the classes) on to a form without having to modify it's init phase.

Jeroen

How about basing your datasource on a parameterized view? Open it in the load() event, set its NodataOnload property to .T. and do your REQUERY() once you have the appropriate parameters.

José
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform