Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define Class/Add Object structure - 1 level nesting only?
Message
From
04/06/2001 06:25:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Define Class/Add Object structure - 1 level nesting only?
Miscellaneous
Thread ID:
00514461
Message ID:
00514461
Views:
69
Hi!

I never worked with the large number of classes defined by DEFINE CLASS statement, so I ask maybe I miss something.

I have tried to use Class Browser to convert some of my forms and VCX classes to the PRG-like definition. It is converted to something like following:


DEFINE CLASS aaa as container

Add Object area1 as container with ...

&& here is a problem
Add Object aaa.area1.line1 as line with ...
...


When compiling such PRG file, it shows syntax error on the second Add Object.

The question is: how to define level 2 and more nested objects in the objects tree? Yet I managed only level 1 of objects work. In othe words, how to define object that is in container, that is in container?

TIA.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Next
Reply
Map
View

Click here to load this message in the networking platform