Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Strange error
Miscellaneous
Thread ID:
00762551
Message ID:
00762551
Views:
47
I have a form with 2 containers. Container2 has Grid1 on it and is not visible. With Container1 visible, I click on a command button on Container1. Some code executes. The last few lines read:
Thisform.Container1.visible = .f.
Thisform.Container2.Grid1.visible = .t.
Thisform.Container2.Grid1.Column2.setfocus
The last line bombs with "Unknown member Column2"
If I put those same 3 lines of code on the form (not on a container), the code executes fine.
What am I missing?

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform