Walter Meester
HoogkarspelNetherlands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only