> > Hi all,
> >
> > I have written some code in the Click of a Button which uses an SQL SELECT to populate a Grid on a "pop-up form".
> >
> > The value of _TALLY can range from 0 to 30 and I would like to programatically adjust the height of both the Grid and the Form based on this value.
> >
> > How do I know what the height of the Grid should be in order to "fit" the number of items in the query result?
> >
> > Thanks,
> >
> > Russell.
>
>
> By using the Anchor property of the Grid you can make a resizable form where the Grid height (and/or width) is anchored to the height (and width) of the form. The user can make the grid any size that fits his screen by pulling any side of the form.
>
> -Anders
Thanks Anders. Nice one.
COMPLETE THREAD
|  | | Grid height Posted by Russell Hill @ 7/6/2009 11:48:31 AM |
|