Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Order or Control initialization in a form
Message
 
 
To
03/12/2001 00:43:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00588590
Message ID:
00589047
Views:
15
Derek,

You have something else going on here. All of the controls init before the form is even visible so the instantiation order shouldn't be noticed.

If instead you have some "long running" code that happens once the form is started and you don't want the action buttons working too soon, Then you might set them all Enabled = .f. to start, run your code, then set Enabled = .t. You can use the SetAll() method to make this easier.

Maybe you can give us some more details about the problem.

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform