Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object name is invalid (Error 1575)
Message
From
09/07/1999 14:14:55
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Object name is invalid (Error 1575)
Miscellaneous
Thread ID:
00239552
Message ID:
00239552
Views:
61
All,

I am getting the above error while executing the AddObject line in the following code. The control and the control name should be gone after executing the RemoveObject line, but I get an invalid name when attempting to use that name again.

FOR EACH loColumn IN This.Columns
lcColumnControlName = loColumn.CurrentControl)
loColumn.RemoveObject(lcColumnControlName)
loColumn.AddObject(lcColumnControlName,"MyControl")
STORE .T. TO ("loColumn." + loColumn.CurrentControl + ".Visible")
ENDFOR

Has anyone seen this behavior before?

TIA

Rex
Next
Reply
Map
View

Click here to load this message in the networking platform