Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid question
Message
From
28/04/1999 10:42:18
 
 
To
28/04/1999 10:31:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00212965
Message ID:
00212991
Views:
20
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform