Hi people,
I'm getting this error message at design time:
"Error creating form: Cannot focus a disabled or invisible window."
I've tried with a test application with just 2 forms and I've got
the same error.
The main form is an empty one. I am able to open the project and it
appears on screen.
The second form is the problematic one. When I press <Shift>F12 to
view it then I get the error message.
But there is something intrigant: it happens only after Closing All
and reopening the project.
When project is opened, with Form1 and recent created Form2 (from
Repository), all is fine: I can even close Form2 and reopen it as
many times as I want without any problem.
But, if I close all, I'll get the error message when reopenig
project and tring to view Form2 (pressing <Shift>F12).
If necessary I can post Cannot_Focus_Invisible_Window.rar on file
area. It's a sample 15K project, with just 2 forms and no syntax
errors (not to intend to run).
Thanks,
Roberto