Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
# DEFINE in Class
Message
 
 
To
15/07/2001 03:48:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00530755
Message ID:
00530778
Views:
16
This message has been marked as the solution to the initial question of the thread.
Yashodhan,

You have to also include the file in the form itself, use the Form/Include File menu item. #INCLUDEs are not inherited the way properties and methods are.

>I have designed and saved a form as a class. In this form I have incuded a text file which says #DEFINE filepath 'c:\temp\'. when I create a new form based on this form, I am not able to use the constant 'filepath'. If I fire DODEFAULT() in form.LOAD and display filepath in the load event of the class form, it displays it. Why I am not able to use this constant in subclass form?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform