Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Order or Control initialization in a form
Message
From
03/12/2001 01:53:07
 
 
To
03/12/2001 00:43:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00588590
Message ID:
00588593
Views:
19
>Is there any way to change the order in which controls are initialized during a form initialization. I mainly want my action buttons to be initialized always last, but so far can't find an easy way to do this. Any suggestions are greatly appreciated.

AFAIK, you can't. One thing you could do is programmatically add the control buttons after the other controls have initialized.

Why do you need to do this? It sounds like you may be either breaking encapsulation or not putting code in the right place(s). Startup of a form is LISAG:

Load()
Init()
Show()
Activate()
GotFocus()
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform