Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank lines appear when scrolling to the bottom of the g
Message
 
To
21/10/2004 13:51:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00953419
Message ID:
00953431
Views:
15
>I have a grid that is populated using a "select * into cursor xyz". if the user scrolls down to the bottom of the grid, blank lines appear at the bottom. these are not blank records, just blank lines.
>
>see this screen shot - http://www.vimware.com/grid.jpg
>
>"jay mack" is the bottom record. is there a way to force the bottom record in the grid to be "jay mack" such that the blank lines do not appear when the user scrolls down?
>
>the client only wants blank lines to appear if there are say 15 records in the cursor and the grid displays 20 records. in that case 5 blank lines would appear at the bottom.
>
>thanks,
>
>vim

Hi Vim,

I would stay away from fighting the default grid behavior in this case. You will need to override all possible ways the user can scroll the grid - with the keys and mouse clicks on the scroll bar/buttons. While this is possible, the results may not be pretty. You may see all kind of flashing and jumping of the grid data.
The cure may be worse than the disease. :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform