Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh a grid
Message
De
23/02/2000 01:12:57
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00335404
Message ID:
00335839
Vues:
20
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform