Home All Groups Group Topic Archive Search About

resizing controls (webbrowser control)

Author
25 Oct 2006 7:46 PM
Bill Nguyen
I put 4 webbrower controls on a winform. I can set the initial position of
the controls during design time. however, I need to be able to allow isers
to resize the windows (maximize, for example) and have the browser windows
to resize accordingly. To start with, I would like teh controls remain in
their own quadrant, 1, 2, 3, 4 respectively.

Any help is greatly appreciated.

Bill

Author
25 Oct 2006 9:08 PM
Herfried K. Wagner [MVP]
"Bill Nguyen" <billn_nospam_please@jaco.com> schrieb:
>I put 4 webbrower controls on a winform. I can set the initial position of
>the controls during design time. however, I need to be able to allow isers
>to resize the windows (maximize, for example) and have the browser windows
>to resize accordingly. To start with, I would like teh controls remain in
>their own quadrant, 1, 2, 3, 4 respectively.

Check out the splitter and splitcontainer controls.  In addition take a look
at the controls' 'Dock' and 'Anchor' properties.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
25 Oct 2006 9:32 PM
Izzy
Look at this:

http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/f7dfab412d33640/397b975bacb5838c?lnk=st&q=&rnum=29#397b975bacb5838c


On Oct 25, 4:08 pm, "Herfried K. Wagner [MVP]"
<hirf-spam-me-h...@gmx.at> wrote:
Show quoteHide quote
> "Bill Nguyen" <billn_nospam_ple...@jaco.com> schrieb:
>
> >I put 4 webbrower controls on a winform. I can set the initial position of
> >the controls during design time. however, I need to be able to allow isers
> >to resize the windows (maximize, for example) and have the browser windows
> >to resize accordingly. To start with, I would like teh controls remain in
> >their own quadrant, 1, 2, 3, 4 respectively.Check out the splitter and splitcontainer controls.  In addition take a look
> at the controls' 'Dock' and 'Anchor' properties.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
26 Oct 2006 1:25 PM
Bill nguyen
Thank you Herfried and Izzy;

This let me get started!

Bill

Show quoteHide quote
"Izzy" <israel.rich***@gmail.com> wrote in message
news:1161811950.744892.274970@m73g2000cwd.googlegroups.com...
> Look at this:
>
> http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/f7dfab412d33640/397b975bacb5838c?lnk=st&q=&rnum=29#397b975bacb5838c
>
>
> On Oct 25, 4:08 pm, "Herfried K. Wagner [MVP]"
> <hirf-spam-me-h...@gmx.at> wrote:
>> "Bill Nguyen" <billn_nospam_ple...@jaco.com> schrieb:
>>
>> >I put 4 webbrower controls on a winform. I can set the initial position
>> >of
>> >the controls during design time. however, I need to be able to allow
>> >isers
>> >to resize the windows (maximize, for example) and have the browser
>> >windows
>> >to resize accordingly. To start with, I would like teh controls remain
>> >in
>> >their own quadrant, 1, 2, 3, 4 respectively.Check out the splitter and
>> >splitcontainer controls.  In addition take a look
>> at the controls' 'Dock' and 'Anchor' properties.
>>
>> --
>>  M S   Herfried K. Wagner
>> M V P  <URL:http://dotnet.mvps.org/>
>>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
Author
26 Oct 2006 2:36 PM
Bill nguyen
This seemes to work good.

Is there a way to add a "floating" control (groupbox/menu/buttons) to the
window screen so that user can select options (for example, number of split
screens 2,4, or 8, etc...)? Ideally, the floating control can be
collapsed/hidden when not used.

Thanks again

Bill


Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OlpHvmH%23GHA.4468@TK2MSFTNGP05.phx.gbl...
> "Bill Nguyen" <billn_nospam_please@jaco.com> schrieb:
>>I put 4 webbrower controls on a winform. I can set the initial position of
>>the controls during design time. however, I need to be able to allow isers
>>to resize the windows (maximize, for example) and have the browser windows
>>to resize accordingly. To start with, I would like teh controls remain in
>>their own quadrant, 1, 2, 3, 4 respectively.
>
> Check out the splitter and splitcontainer controls.  In addition take a
> look at the controls' 'Dock' and 'Anchor' properties.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
30 Oct 2006 8:09 PM
Bill Nguyen
I was able to use dock (fill)  and TableLayoutPanel to split a screen into 4
quadrant.
Can I have either a floating control panel or a fixed area in the screen
(similar to statusbar) so that I can put some information/controls on the
same form? Currently, any control (such as groupbox) would overlap these
panels.

Thanks

Bill

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OlpHvmH%23GHA.4468@TK2MSFTNGP05.phx.gbl...
> "Bill Nguyen" <billn_nospam_please@jaco.com> schrieb:
>>I put 4 webbrower controls on a winform. I can set the initial position of
>>the controls during design time. however, I need to be able to allow isers
>>to resize the windows (maximize, for example) and have the browser windows
>>to resize accordingly. To start with, I would like teh controls remain in
>>their own quadrant, 1, 2, 3, 4 respectively.
>
> Check out the splitter and splitcontainer controls.  In addition take a
> look at the controls' 'Dock' and 'Anchor' properties.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>