General information
Category:
Coding, syntax & commands
Is it possible to force Foxpro to instantiate the objects on a form in a specific order? If so, how?
Why do you need to do this?
IMHO, it is very bad programming practice to have yur code rely on the order in which objects are instantiated - it is too easy to break the code.
Instead, you should call a custom method from the form's init() to do whatever setup is required. Since the form's init() fires aftere all of the contained objects have been instantiated, you can be sure that all the required objects are there when your code runs.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only