Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'NAME' clause of DO FORM
Message
 
 
To
09/09/1998 15:03:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00134714
Message ID:
00134738
Views:
12
>>>You can avoid these problems using something better defined and scoped:
>>>DO FORM myform NAME oApp.myform LINKED
>>>Now you can always refer to this form from any place of your application e.g. oApp.Myform.Caption="...."
>>
>>So...
>>
>>oApp is my application object, right?
>>Then do I have to make 'myform' a property of oApp?
>
>Yes
>
>>That didn't work either...
>
>It always works. Did you use 'LINKED'?

I'm using:
DO FORM billrec WITH .F., sbill_link NAME goApp.billrec LINKED

Then for testing I'm checking the TYPE in the INIT event of 'billrec'

When 'billrec' is a property of goApp, it stays Logical
When 'billrec' is NOT a property, it shows as undefined?

Does it possibly not come into existence until AFTER the INIT?
I don't think so...Like I said, my first use of this syntax works fine!

Any more ideas?

Thanx
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform