Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does a DEFINE CLASS... class exist?
Message
De
21/05/2003 13:18:16
 
 
À
21/05/2003 12:41:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00787527
Message ID:
00791168
Vues:
27
Steve,

Are you sure?

Let's say I have code in a procedure file:
FUNCTION DEFINECOLUMNCLASS()

DEFINE CLASS myColumn AS column

RETURN
Now I add the class to my grid.
SET PROCEDURE TO DEFINEFUNCTIONS ADDITIVE
DO DEFINECOLUMNCLASS

this.AddObject( "newcolumn","myColumn" )

RETURN
How does Fox know that there is a defined class called "myColumn"?

Something is in memory that either contains the class definition or points to the function that created the class definition that Fox recognizes as myColumn.

How do I find out if that something exists?

Regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform