Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Funky grid vertical scrollbar
Message
From
12/05/2006 10:07:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Funky grid vertical scrollbar
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01121301
Message ID:
01121301
Views:
43
I have a simple grid control with AllowCellSelection set to False.

The underlying record source is a cursor with 6 records. My grid is sized to display 10 records at once. There are no linked child tables. Optimize is set to False.

When I select the first record in my grid, my vertical scrollbar clears - no thumb displayed. This is what I would expect when the number of records in my grid is less than the visible display area of the grid.

When I navigate to any other record within my 6 record cursor, the vertical scrollbar fills with a thumb element as tall as my scrollbar. If I click on the scrollbar's gian thumb, BAM!, the giant thumb disappears and no thumb is displayed (i.e. the scrollbar refreshes itself to its proper appearance).

Any suggestions on how I can force my grid's vertical scrollbar to properly repaint itself? Perhaps a windows repaint message?

Curious if anyone else has seen this behavior.

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Next
Reply
Map
View

Click here to load this message in the networking platform