Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement