Resize detail/control along with form (1 Viewer)

CedarTree

Registered User.
Local time
Today, 12:50
Joined
Mar 2, 2018
Messages
404
Hi - I have a web-browser control that takes up 100% of a form (on purpose). But if the user resizes the form, or maximizes it, I want the Form detail section + web-control to also re-size accordingly. Any suggestions? Thanks!
 

Isaac

Lifelong Learner
Local time
Today, 09:50
Joined
Mar 14, 2017
Messages
8,738
I was thinking maybe in the form's resize event you could make the Width of the control equal to .95 of the form's width, or something like that.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 00:50
Joined
May 7, 2009
Messages
19,169
you don't need to use Any Event.
use the control property:

Horizontal Anchor: Both
Vertical Anchor: Both
 

Users who are viewing this thread

Top Bottom