Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with a class containig grids in a pageframe
Message
From
20/07/2000 16:56:08
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00394989
Message ID:
00395110
Views:
11
Jim,

Thanks for the reply. Once I did as you suggested, everything was fine.

Jeff

>Jeff,
>
>The problem you are encountering is "Early Composition". That is you placed the grid in the page before it was fully defined as a class itself. The solution is to define each grid (actually do this for every control you have in the pageframe class) as a class and then define then pageframe and place the fully defined grids (controls) in the pages. When you want to chage one of the grids (controls) go to the grid (control) class and make the change (not the pageframe class).
>
>This approach is called Late composition because the composite class (The PageFrame) is not created until all of the component classes (controls) have been fully defined as classes separately.
Previous
Reply
Map
View

Click here to load this message in the networking platform