Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Width
Message
From
04/11/2002 12:49:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00718569
Message ID:
00718580
Views:
14
Sounds like you're talking about setting it in code, but you can't really set properties on an object that doesn't yet exist.

I suppose you could change the field content directly in the scx table before running the form, but then you can't include it in the project, or it will be read only.

Why would the load() be too late? Nothing much matters about the form before the load, and you can set any properties you like at that point.

Maybe if you explain a little more about what you're trying to achieve?

Alan

>I have a form that I need to set the initial Form Width to one of two different values (depending on if an item in the global object is .t. or .f.). I need to set this Form Width before anything is done on the form, and the Form Load is to late. Anyone have a suggestion on how this could be done?
>
>Mel Cummings
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform