> > Hi Bernard,
> >
> > I want to do the same to adjust for grid scrollbar (vertical). However, when I tested it with a grid, the width of grid is being reported same with or without scrollbar. How to get width of grid vertical scrollbar?
> > I use resizer class to adjust form height and width according to user resolution. Once the form is shown, it is not resizable. I need to adjust grid width to fit correctly after this resize from init event. Currently it looks something like this.
> > Pl see my comment on the right side of the image. (The gap I refer to there is not in the original design. It is left after the form is resized.)
> >
> Hi Vivek,
>
> It's a different topic I think - Scrollbars on forms are displayed dynamically, while your grid scrollbar is probably always there?
> You can however determine scrollbar size via SYSMETRIC()
>
>
> hth
> -Stefan
Hi Stefan,
Thanks for your reply. However, both form and grid have a property named "scrollbars", which can be set from 0 to 3. Then what's the difference?
Vivek