Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Columns in Grid on the Fly
Message
From
07/10/1998 16:12:27
 
 
To
07/10/1998 16:10:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144748
Message ID:
00144771
Views:
19
It doesn't matter, because you AddObject to run-time object, i.e. if you don't want to make changes/subclass your form/grid class, then you can adjust it programmatically in run-time.

>Hi Edward,
>
>How would you deal with this if you already have a form class containing this grid? And Where or How should I go about solving this problem?
>
>
>>You should prepare Column class programmatically (DEFINE CLASS ...) and then Grid.Addoblject("mycolumn","mycolumnclass"). If you want to run specific code from Column.Text event, then you may better use Textbox class and add it to existing (may be kept invisible) Column.
>>
>>>Hi Again,
>>>
>>>When you created columns on the fly. How would you write a double click procedure at the TEXT level of the column ? Any help is appreciated.
>>>
>>>Steve
>>>
>>>P.S. Want to thanks David Frankenbach, Jim Booth and David Bower for their assistance with Shortcut Menu.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform