Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incorporating Class Methods/Properties into an Existing
Message
From
13/11/1998 18:19:19
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00157502
Message ID:
00157590
Views:
19
Jim,

I ran into a problem because (I'm guessing again here) the grid is contained in a page of a pageframe that is contained within the form. The browser doesn't allow me to get past the pageframe level. The developer before me did not put the pageframe into a class. Am I out of luck?

Thanks, Renoir

>>Bruce,
>>
>>You had it right the first time. I went ahead and just created ethods/properties and copied copied the code this time, but since the existing grid on a form wasn't created as a class (I'm guessing here) they were added to the parent form instead of the grid. This may be considered a new thread, but I didn't know you couldn't do this. Other than playing with the SCX table, do you know how I can get the (newly created and copied) property and methods into the existing grid rather than on the form? Is there a rule that you can't create these into a non-classed grid?
>>
>>I was sketchy with my question probably because I'm sketchy with my knowledge regarding this. :)
>>
>>Thanks for your help, Renoir
>
>Renoir,
>
>You can add properties and emthods to the otuer most container in a designer. In the form designer this may be either a fomr or formset depending on what you are designing. In the class designer it is the outer most class.
>
>You can use the class browser to open your SCX file and use it features to change the class that the grid is based on from the VFP base class to the one whose properties and methods you want.
Previous
Reply
Map
View

Click here to load this message in the networking platform