Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh a grid
Message
From
23/02/2000 01:12:57
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00335404
Message ID:
00335839
Views:
19
Martineau,

>if I do a skip In the clik event of a commandbutton how c'an i refresh the grid without set the focus to the grid. i Want to show the active record in my grid if i d'ont use Grid.setfocus my record as change but the grid dosent show it.

Well if you can live with the fact that the activerow will alway be the first visible row, then you can use a custum method on the grid:
THISFORM.LockScreen=.T.
nHeight = THIS.Height
THIS.Height = THIS.HeaderHeight + THIS.RowHeight
THIS.Refresh
THIS.Height=nHeight
THISFORM.LockScreen=.F.
Regards,

Walter





>
>
>Ben.
Previous
Reply
Map
View

Click here to load this message in the networking platform