Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does a DEFINE CLASS... class exist?
Message
From
21/05/2003 13:18:16
 
 
To
21/05/2003 12:41:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00787527
Message ID:
00791168
Views:
28
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform