Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Phatom Messages
Message
From
30/04/1998 07:33:11
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00095530
Message ID:
00095925
Views:
27
>>>>>>Tim, where that #DEFINE ADAM_LOC is defined? Do you have any .H file included in that form?<<
>>>>
>>>>There was no included file in the form.
>>>>
>>>>There is a STRINGS.H file in each project. The message box is getting the errant message from the STRINGS.H in the directory that I copied from. My STRINGS.H has the correct ADAM_LOC variable and I tried Including it in my form, but it did not work. It still retrieved ADAM_LOC from the other directory. I has to be something to do with the BASE form, as there is no code in my form.
>>>>
>>>>??? Tim
>>>
>>>override the include file in the base form by adding your strings.h file to the form (form/include)
>>
>>Hi Dave. PMFJI, but regarding include files in forms, can you "include" the file in the form class? When I include it in the class, the instantiated form seems to ignore it and I have to include it in the instantiated form too. Am I missing something?
>>
>>Thanks,
>>Bill
>
>Bill, you have to include header file in instantiated form
>Also, you have to do that not only in base form class, but in all subclassed form classes too.
>
>(Sorry for intrusion, Dave... :)
>
>Nick

In that case, it would seem the most expedient thing is to not include it in the class, but just in the instantiated form to reduce overhead in the class(es).

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform