Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tip o' the day
Message
From
05/08/1999 12:05:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/08/1999 11:59:33
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00250186
Message ID:
00250228
Views:
17
>Hi Cetin,
>
>>If I'm not wrong this code would beat some functionality of positioning row correctly in a grid. Hope I'm wrong.
>
>Here's an example:
>
>Your grid is taking up the whol 600x800 or whatever screen. You're only shoing 5 records and your on the first record. If you reOrder the grid (header click ect.) You may see only the one record and about 50 blank rows, then you'll have to scroll up.
>
>My code only affects the grid if more visible (blank or not) rows are available then actaul number of records being displayed. Otherwise the DoScroll isn't touched.
Yes Mike I got that. That's why I thought it might cause problems. I haven't tested but will test now this situation :
-Filter is set outside of grid (ie: Commandbutton)
-And refresh called
-Grid is somehow (who does it in fact) not a true multipl of rowheight+headerheight+scrollbars (I mean the last row is partially shown)
-User clicks on that partial row.
To me it seems this code would prevent the whole row being showed. Default refresh code (with no doscroll) positions it.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform