Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is << ADD OBJECT >> a command?
Message
De
25/06/1997 18:39:05
 
 
À
25/06/1997 16:52:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00037744
Message ID:
00037751
Vues:
29
>I was doing more investigating of Visual MaxFrame (freebie) and came across code which seemd to AddObject all of the VMF classes.
>Not understanding the wisdom/necessity of this, I decided that I should look at an existing SCX to see if it did that.
>I used the Class Browser to look at the code.
>
>In the code I found a series of ADD OBJECT commands. (NOTE, *NOT* AddObject).
>
>This led me to the Help, to learn more about the Add OBJECT command. Sure enough, it was listed. But when I selected it from the index, I got DEFINE CLASS instead!
>I then went to Help Find, typed in ADD and got a list including Define Class but *NO* ADD OBJECT.
>
>What's going on here??
>
>thanks in advance,
>Jim N


I typed HELP ADD OBJECT in the command window. The following is from the help that came up:

Syntax

DEFINE CLASS ClassName1 AS ParentClass [OLEPUBLIC]
[[PROTECTED | HIDDEN PropertyName1, PropertyName2 ...]
[Object.]PropertyName = eExpression ...]
[ADD OBJECT [PROTECTED] ObjectName AS ClassName2 [NOINIT]
[WITH cPropertylist]]...
[[PROTECTED | HIDDEN] FUNCTION | PROCEDURE Name
[NODEFAULT]
cStatements
[ENDFUNC | ENDPROC]]...
ENDDEFINE

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform