Webbrowser resize on maximize
Webbrowser resize on maximize
Webbrowser resize on maximize
Webbrowser resize on maximize
Webbrowser resize on maximize
Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize
Webbrowser resize on maximize Webbrowser resize on maximize
Webbrowser resize on maximize
Go Back  Xtreme Visual Basic Talk > > > Webbrowser resize on maximize


Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2007, 01:23 PM
Acin Acin is offline
Freshman
 
Join Date: Feb 2007
Posts: 25
Default Webbrowser resize on maximize


If I have a form with for example a webbrowser and a listbox, how can I make them keep the size in comparison to the form when I maximize the form?
Reply With Quote
  #2  
Old 08-05-2007, 07:13 AM
gazmac's Avatar
gazmac gazmac is offline
Junior Contributor
 
Join Date: Apr 2003
Posts: 200
Default

The Anchor property will anchor a control to a given side of the form.

Select your control, then in the properties, set your anchor to: Top, Left, Right and Bottom. This will stretch your control when the form is resized. For textboxes, you will probably just want: Top, Left and Right.

Depending on which side your ListBox is on, you will just want top, bottom and the side it is on, as not to stretch the control and skew up your design.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Webbrowser resize on maximize
Webbrowser resize on maximize
Webbrowser resize on maximize Webbrowser resize on maximize
Webbrowser resize on maximize
Webbrowser resize on maximize
Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize Webbrowser resize on maximize
Webbrowser resize on maximize
Webbrowser resize on maximize
 
Webbrowser resize on maximize
Webbrowser resize on maximize
 
-->