Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid question
Message
De
28/04/1999 10:42:18
 
 
À
28/04/1999 10:31:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00212965
Message ID:
00212991
Vues:
21
>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.

Thanks Edward, I will try those.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform