Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid question
Message
De
28/04/1999 10:31:21
 
 
À
28/04/1999 10:00:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00212965
Message ID:
00212982
Vues:
28
>Hi all,
>
>When the cursor in my grid is changed, I know that I have to reset the recordset for the data to be displayed. But I also have some codes in the column headings, so what is the best way to restore these codes?
>
>Thanks a lot...

There are three options here:
1) Keep this code in class, i.e. use customized column.control, and use Column.Remove/AddObject any time you reset Grid.Recordsource.
2) Keep whole grid as class, and Form.AddObject("mygrid","mygrid")any time you reset Grid.Recordsource.
3) Do not reset Grid.Recordsource. Instead you may base grid on read-write permanently and use ZAP/APPEND/INSERT to change cursor content.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform