Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00762551
Message ID:
00764131
Views:
21
>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.
Ken,
2 thoughts, do you need to make Container2 visible and does it make a difference in you set Container1 invisible after the setfocus?
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform