Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: : Re-sizing control


Message #1 by "sharad nair" <p2psearch@h...> on Wed, 25 Jul 2001 17:18:29 +0000
Yeah, so use a DataGrid, place it on a Form, and when the Form resizes,
resize the Grid.  Also, on the ColResize and RowResize events, you could
possibly resize the Form to be bigger keeping the aspect ratio of the Grid.

Good Luck!

-----Original Message-----
From: sharad nair [mailto:p2psearch@h...]
Sent: Thursday, July 26, 2001 2:52 PM
To: professional vb
Subject: [pro_vb] RE: : Re-sizing control


hi friends,
thankz for all the suggestion and help...but i guess i was't able to put 
accross my point...what i actually requirement is to have a grid place on a 
form..and once the query is executed and the result is displayed, allow the 
user to resize the grid so that more result is visible than the initial 
rows...i tried placing the grid control on a form and then loading the form 
once the query is executed..with this the mouse pointer automatically chages

to the resize one and then the form can be resized along with it the 
grid..but i am looking for a better solution..hope this detail helps...

please come back to me on this...
cheers
sharad


>From: "Yehuda Rosenblum" <Yehuda@I...>
>Reply-To: "professional vb" <pro_vb@p...>
>To: "professional vb" <pro_vb@p...>
>Subject: [pro_vb] RE: : Re-sizing control
>Date: Wed, 25 Jul 2001 13:33:53 -0400
>
>What we do is make the grid the size of the form.  In the form_resize we
>set the grid size to the form size.  This way any changes to the form
>automatically happen to the grid.
>
>-----Original Message-----
>From: sharad nair [mailto:p2psearch@h...]
>Sent: Wednesday, July 25, 2001 1:18 PM
>To: professional vb
>Subject: [pro_vb] : Re-sizing control
>
>
>hi friends,
>does anyone know of any control which can be resized during
>runtime..actually , my plan is to develop a database tool like query
>analyser to query my database..but i can't find any control which allows
>me
>to resize at runtime..just like the way we have it in SQL-QA where the
>result grid can be resized..
>
>any help will be greatly appreciated.

  Return to Index