Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid change position after Refresh
Message
 
À
15/01/1999 12:54:17
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonésie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00176580
Message ID:
00176865
Vues:
21
Hi Senna,

>I put a listbox and a grid (based on cursor),
>the contents of grid change when listbox value changed, if I'm not add "Thisform.mygrid.refresh()" on the end of listbox.interactivechange code, the contents of grid didn't change, but if I put refresh, contents of grid changes and also grid position changed, the grid looks also messy, why this happens ?

Have you tried to use GOTO to explicitely go to the first record that should be displayed before you call Refresh()? Also, you can use the ActivateCell() method to display the grid cursor in a specific relative row.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform