Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addobj
Message
From
26/04/1999 12:12:06
 
 
To
26/04/1999 12:07:22
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Re: Addobj
Miscellaneous
Thread ID:
00212181
Message ID:
00212185
Views:
22
>I want to conditionally add objects to a page on a pageframe and the following does not work:
>
>*in activate
>oField=addobject('field1','kbafield')
>oField.top=100 && error ofield does not exist!
>
>Can anybody tell me what I am doing wrong and how this should know in what library kbafield is located??
>
>Peter

Firstly, it should be This.AddObject (if you do it in Page.Activate). Also, beware that this way you may add objects on every activation.
You may use SET CLASSLIB TO mylibrary to specify library you need.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform