Information générale
Catégorie:
Codage, syntaxe et commandes
Well, I've never used CodeMine, but I suspect that if you set the width you want in the load before calling DoDefault(), it should work as you want. The load is about as early as you can get without messing with the scx as a table.
Alan
>>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?<
>
>I need the form Width to be about 150 pixels more narrow in certain situations. What I am having to deal with is I use CodeMine and it has features which allow like a PageFrame or other controls to be stretched, etc. as the Form is sized by the user. All this works perfectly. However, CodeMine evidently basis its stretch on the Form Width and Form Height property, which would be the normal behavior. So, I am trying to change the Width before anything is done to the form.
>
>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