Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Go Top and Go Bottom in Grids
Message
From
26/01/2000 12:32:12
Walter Meester
HoogkarspelNetherlands
 
 
To
26/01/2000 12:14:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00322858
Message ID:
00322945
Views:
24
Cetin, Rex,

>
Rex,
>After locating the record in correct table a refresh to grid is enough.
>Cetin

To enhance this a bit further:

THISFORM.LockScreen=.T.
nHeight=THISFORM.Grid.Height
THISFORM.Grid.Height=THISFORM.Grid.Headerheight+THISFORM.Grid.RowHeight
THISFORM.Grid.Refresh
THISFORM.Grid.Height=nHeight
THISFORM.LockScreen=.F.

This ensures that the activerow is the first row in the grid without setting the focus to the grid and having to work with the Doscroll method. This is particular handy when using a incremental search in a grid.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform