Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddObject Error 1575
Message
 
 
To
07/05/2002 11:37:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00653555
Message ID:
00653567
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform