Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Have grid on a form. how to save as a class.
Message
From
20/08/1998 15:17:56
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00128583
Message ID:
00128594
Views:
23
>>>have a grid fully defined on a form. now decide i want the grid as a class. how can i do this?
>>>
>>>also, i have a member in a class library. want to copy that member into the same VCS (of course i will give the new member a different name). i have one object that is very similiar to an object i need to create. would like to have the existing object as a starting point. do not want to subclass.
>>>
>>>thanks - brenda
>
>>When you select a control and click File/Save_As_Class you will be prompted to select library and class name.
>
>boy i feel stupid. did not realize there was a difference between grid on a form and grid on an object.. said my grid was on a form for simplicity. actually the grid that i want to make a class is on a container object, not a form. but i know see that i can copy the container grid to a form and then save as a class. not straighforward but will work.
>
>one down and one to go. still interested in how to copy a class without subclassing. any ideas?.

Firslty, you duplicate vcx file (copy it with another name). Then you add both vcxs to the same project, rename class in one VCX and drag this class to another VCX.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform