autosize / resize control 
Author Message
 autosize / resize control

I have created a control on my form
What should I do with it if I want it to be able to resize with the size of
the form?

That is,it should only 50% of the form's width, no matter how width the form
may be.
Thankyou!



Sat, 14 Sep 2002 03:00:00 GMT  
 autosize / resize control
You can set the autosize property to true. But then it resizes in relation
to the forms size. That means its right border keeps its distance to the
forms right boder. You can not define the size being 50% of the forms size.

Unfortunately you do not receive a forms_resize event.

--
Patrick Jox

office

http://www.lexware.de

home

http://www.joxweb.de



Quote:
> I have created a control on my form
> What should I do with it if I want it to be able to resize with the size
of
> the form?

> That is,it should only 50% of the form's width, no matter how width the
form
> may be.
> Thankyou!



Sat, 14 Sep 2002 03:00:00 GMT  
 autosize / resize control
No, I am able to only do that for , maybe, 1 side of the control
It is able to resize itself (from the edge of the window) horizontally but
not vertically
That means, when u resize the window, you are still able to see the right
edge of the control but not the bottom edge....


Quote:
> You can set the autosize property to true. But then it resizes in relation
> to the forms size. That means its right border keeps its distance to the
> forms right boder. You can not define the size being 50% of the forms
size.

> Unfortunately you do not receive a forms_resize event.

> --
> Patrick Jox

> office

> http://www.lexware.de

> home

> http://www.joxweb.de



> > I have created a control on my form
> > What should I do with it if I want it to be able to resize with the size
> of
> > the form?

> > That is,it should only 50% of the form's width, no matter how width the
> form
> > may be.
> > Thankyou!



Sun, 15 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. autosize picture box and resize form

2. resizing a form when a control resizes during execution

3. Resize form - resize controls

4. Correction: Resize form - resize controls

5. Resizing a control when the Form is resized

6. Usercontrol resize when label control resizes

7. resizing a form when a control resizes during execution

8. VB5 Resizing and Paint do not resize control

9. Resizing all controls at form resize

10. Binking When Resizing Custom ControlBinking When Resizing Custom Control

11. Dynamically move/resize controls on resized form

12. Autosize the MSFlexGrid control?

 

 
Powered by phpBB® Forum Software