Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Vivek Deodhar
  Where is Vivek Deodhar?
 SANGLI
 India
 Vivek Deodhar
 To: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
Subject: RE: Form scrollbars
Thread ID: 65404 Message ID: 204448 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Forms
Date: Thursday, November 20, 2008 9:24:19 AM         
   



> > 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

ENTIRE THREAD

Form scrollbars Posted by Dale Dedoroy @ 4/5/2005 5:01:36 AM
RE: Form scrollbars Posted by Chris Berkvens @ 4/11/2005 11:35:29 PM
RE: Form scrollbars Posted by ILYA RABYY @ 4/12/2005 1:18:26 AM
Found a workaround. Posted by Dale Dedoroy @ 4/12/2005 4:25:45 AM
RE: Form scrollbars Posted by Bernard Bout @ 4/14/2005 5:59:30 AM
Thanks! Posted by Dale Dedoroy @ 4/14/2005 11:53:13 AM
RE: Form scrollbars Posted by vivek deodhar @ 11/20/2008 9:09:54 AM
RE: Form scrollbars Posted by Stefan Wuebbe @ 11/20/2008 9:16:42 AM
RE: Form scrollbars Posted by vivek deodhar @ 11/20/2008 9:24:19 AM
RE: Form scrollbars Posted by Stefan Wuebbe @ 11/20/2008 9:33:39 AM
RE: Form scrollbars Posted by vivek deodhar @ 11/23/2008 6:19:59 AM
RE: Form scrollbars Posted by Stefan Wuebbe @ 11/23/2008 7:28:53 AM
RE: Form scrollbars Posted by Om Rajan @ 11/20/2008 9:58:44 AM