• Log in or sign up for an account here: https://www.sythe.org/login

My problem topic

  • Thread starter Thread starter xevenx
  • Start date Start date
X

xevenx

Guest
I found out about the buttons... google is my friend!

Next thing I need help to is:
Make my webbrowser to resize when people change the size of the window...

-Even!

--------------------------------------------------------------------------------------
Since Im getting vb problems each day, I will keep this topic alive with my freakin problems.

For now I need a link to Charmelon buttons and someone to explain how to use it!

Thanks!
 
Simple... i presume your webbrowser is called webbrowser1

You put the following code on the form resize area...
Code:
Webbrowser1.height = form1.height
webbrowser1.width = form1.width

Something like that anyways lolz.. i dont have VB on this current computer :/
 
Member of the Month Winner
Sythe's 10th Anniversary
If you used .Net there is a dock property which docks it to it's parent container.

However, with visual basic 6 you must do some trivial math. The webbrowser control has Width and Height properties. All you need to do is set the Width and Height to the width and height of the parent container, give or take whatever value.

If you want room for other controls to the left or top of the control, there are simple methods. Just set the Top or Left properties of the control to whatever value, then take away that value from the width/height so it won't stretch out of the parent container.
 
Runescape Gamblingrunescape gambling
Back
Top