Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Isometrically resize a form?
Message
 
 
À
23/11/2004 04:47:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
00963525
Message ID:
00963881
Vues:
8
Hi Terry,

Thanks a lot, I got them. I also remembered, that Marcia published her Resizer class code here few times, I'll make a search a little bit later today. I think, I need some sophisticated logic, e.g. buttons should flow and grid should expand...

>Hi Nadya.
>
>You’re welcome to have the classes. I've mailed them to you (I’ve included 2 different just in case you get sick of one! :-) ). In fact you may have seen them before. They were passed on to me by a colleague but I don’t know where he got them from. I use the mwResize class because, when resizing forms it leaves grids as-is, i.e. as the form gets bigger you get more grid for your money, rather than the text therein just getting bigger.
>
>Looking at the code in the other I noticed that it paid attention to proportions so I thought it would be useful for “isometric” resizing
>
>Depending on which you use, in the form’s Resize event just put:
>
>THIS.cmStretcher1.Stretch(THIS)
>
>Or
>
>This.mwResize1.Resize( This )
>
>Best regards
>
>Terry
>
>
>
>>Hi Terry,
>>
>>Is it easy to use? I am looking on some of my old applications now and I do not like how the objects use form's real estate. I am wondering, how can I fix it by the easiest way. Could you please mail me your class so I can try to adapt it for my needs?
>>
>>Thanks a lot in advance.
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform