Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid change position after Refresh
Message
De
15/01/1999 13:04:15
 
 
À
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:
00176589
Vues:
25
>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 ?
>I tried set lockscreen=.t. and lockscreen=.f.(after refresh) but still got a same result.
>
>
>
>TIA :)

If during this process you overwrite grid.recordsource then you force grid to be rebuilt from scratch with defaults on column.controlsource, width (is this what you call 'messy'?) etc. So the remedy is either keep/restore all settings or don't overwrite the recordsource.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform