>>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
>
>What id field1? Do you mean text1?
>
>Jeff
field1 should be the name of the new object, kbafield is the name of the class I am subclassing.
And, yes, I will remove theis object in deactivate method.
Peter Cortiel