Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define Class/Add Object structure - 1 level nesting only?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Define Class/Add Object structure - 1 level nesting only?
Divers
Thread ID:
00514461
Message ID:
00514461
Vues:
70
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform