Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Grid (Vertical Bar)
Message
From
07/03/1997 09:45:44
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00022945
Message ID:
00023341
Views:
38
>>>>>>>>How do I setup the vertical bar on teh grid windows
>>>>>>>>so it does not come on until the grid window is full?
>>>>>>>
>>>>>>>Firstly, there is no such thing as grid window! If you want to do something with vertical bar, you can reset Grid.ScrollBars property, but I really don't understand what's the idea behind this.
>>>>>>
>>>>>>The idea is...
>>>>>>if the grid only has 2 records in it, you do not need
>>>>>>a vertical bar. If the grid has 50 record in it, you
>>>>>>do need a vertical. How can you setup your grid
>>>>>>to test for the need of the vertical bar?
>>>>>
>>>>>You don't need to. The bars will not be enabled until there are more records than show on the grid.
>>>>
>>>>The bar is still there when there is only one record, but
>>>>it is grayed out. I would like to remove it.
>>>>
>>>>rob
>>>
>>>Rob, this is "Standard Windows Behavior". You'll see it in Word, in your Netscape web browser and many other places. You could try re-setting the ScrollBars property, after checking for the number of records and comparing to the visible rows in your grid. Might work.
>>>
>>>Barbara
>>
>>Thanks Barbara...
>
>if you're desparate (or insane), get the dbgrid control from vb. it's much weaker, but doesn't show the bar until it needs to (just one of its many problems...)

Thanks Dave... I like your answers...
You are helping me move from a Clipper (dos) coder to a vfp coder.

>>if you're desparate (or insane), get the dbgrid control from vb.
Does "vb" stand for visual basic?


>>much weaker, but doesn't show the bar until it needs to (just one of its >>many problems...)
By "just one of its many problems", are you tallking about vfp50?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform