Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User-defined grid's layout
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153465
Message ID:
01153644
Views:
23
Hello,

If you want to add a column dynamically you can use .AddObject with a subclassed custom grid column. Also please note there are some security issues associated with the method described in the article depending on where the data is and who has access. You can inject a case statement to just allow certain properties to be user managed.

HTH

Bob

>>Hello Naomi,
>>
>>You may want to re-read my grids article from the second issue of the UT Magazine. I think those techniques will work well in a situation like this. You can handle the changing data from the parent with a BINDEVENTS call to the child.
>>
>>Bob
>>
>Hi Robert,
>
>I reviewed your article and I like the idea. If I want to use your idea partially (e.g. I just want to use memo field for one particular column properties), how would I add a new column to the existing grid?
>
>Thanks again.
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform