>Not that I know of, Renato, but you can resize it programatically when the user resizes the window that it's in. So if your window originally sized at 100,200, and the user resized it to 75,180, put in your form's resize event:
>This.MyCntnr.Width =Thisform.OrigWidth *75/100
>This.MyCntnr.Height=Thisform.OrigHeight*180/200
>(Where OrigWidth & OrigHeight are form properties which are equal to the original width & height, and 100 and 200 stay constant because they're the original width & height of the form itself).
>
>If you want to have more than one sizable container on the same form, you may need to do a form set with some border tricks which make them look like the same form.
>
>It's either that or some VERY fancy Drag & Drop routines, but that seems more hastle than it's worth.
>
>JR
Thanks, Joy, I already got what I wanted with some code at the Container's MouseMove event...
Renato
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