Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'NAME' clause of DO FORM
Message
From
09/09/1998 15:14:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00134714
Message ID:
00134742
Views:
15
>>>>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

It will be object in Form.Activate event, so you can use it there.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform