>I have created a form class in Class library B. The form has a grid on it from Class library A. The grid's init method removes the Textbox from each column and adds a special textbox from Class Library A.
>
>The init code is kinda like this.
>
>Set Classlib to Library A
>For i = 1 to ...
>This.Column(i).Remove('Text1')
>This.Column(i).AddObject('Text1','SpecialTextBox')
>
>The error occurs at the above line.
>It is error 1575.
>
>Any ideas?
Try this: Test to see if Text1 was really removed first. If so and you still get error, change the name in the AddObject to Text2. Once it is added, change its name property back to Text1.
Mark McCasland
Midlothian, TX USA