PC Review


Reply
Thread Tools Rate Thread

auto resizing forms contents

 
 
John Smith
Guest
Posts: n/a
 
      19th May 2004
i wanna do something like layots in java swing
when the user resizes the form all its contents
(datagrids, buttons, treeviews) get moved
and resized (including datagrid columns wight)

im using VB 2002

TIA


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      19th May 2004
* "John Smith" <a__@abv.bg> scripsit:
> i wanna do something like layots in java swing
> when the user resizes the form all its contents
> (datagrids, buttons, treeviews) get moved
> and resized (including datagrid columns wight)


Have a look at the controls' 'Anchor' and 'Dock' properties. In
addition to that, have a look here:

<URL:http://www.dotnet.jku.at/projects/slm/>

Table layout and flow layout will be supported by .NET directly in .NET
2.0.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
John Smith
Guest
Posts: n/a
 
      19th May 2004
tnx

"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> * "John Smith" <a__@abv.bg> scripsit:
> > i wanna do something like layots in java swing
> > when the user resizes the form all its contents
> > (datagrids, buttons, treeviews) get moved
> > and resized (including datagrid columns wight)

>
> Have a look at the controls' 'Anchor' and 'Dock' properties. In
> addition to that, have a look here:
>
> <URL:http://www.dotnet.jku.at/projects/slm/>
>
> Table layout and flow layout will be supported by .NET directly in .NET
> 2.0.
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>



 
Reply With Quote
 
Armin Zingler
Guest
Posts: n/a
 
      19th May 2004
"John Smith" <a__@abv.bg> schrieb
> i wanna do something like layots in java swing
> when the user resizes the form all its contents
> (datagrids, buttons, treeviews) get moved
> and resized (including datagrid columns wight)
>
> im using VB 2002


You could set the Dock and Anchor properties of the controls.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to force SplitContainer's contents to change 'on-the-fly' during resizing nvx Microsoft Dot NET Framework Forms 2 30th Jun 2006 04:55 PM
resizing forms =?Utf-8?B?QVQ=?= Microsoft Access Forms 0 10th Jan 2006 12:36 AM
TreeView contents flicked like crazy when resizing form None Microsoft Dot NET Framework Forms 0 1st Jun 2005 04:32 AM
filling in forms fields based on contents of other forms =?Utf-8?B?RG93bmluZ0RldmVsb3BtZW50cw==?= Microsoft Access Form Coding 0 23rd Feb 2005 04:41 PM
Win Forms MDI client forms not resizing RCB Microsoft Dot NET 0 25th Aug 2003 05:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:13 PM.