Form Size and Resolution

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created a form in a .NET project that was 760 x 612. I was unable to extend the height beyond the 612 so I
closed the project and changed my desktop resolution from 800x600 to 1024x768. I reopened my project an
the form appeared but the controls were no longer visible. If I opened the Properties window dropdown all the control
were there although they were not visible on the form. I exited the project and changed my resolution back t
800x600 and then reopened my project again. As before the form was there but no controls were visible an
I could select the controls from the Properties window dropdown. Is there anyway to recover from this since th
project seems to think the controls are on the form although I can no longer see them? Also, the system generate
code that gets created with the new .NET technology also contains all the control information. Has anyone had a simila
problem???
 
It sounds like your controls may have somehow changed their location to be off the edge of the form's visible client area. Select each of your controls from the properties window dropdown and check the 'Location' property for each control and change it if required so that your controls are back in view

Gar
 
Look at the windows generated code - from that you can tell the parent of
the control. Maybe it hasn't been added to a parent control? Or maybe the
Location has set itself to something way too big.



GailW said:
I created a form in a .NET project that was 760 x 612. I was unable to
extend the height beyond the 612 so I
closed the project and changed my desktop resolution from 800x600 to
1024x768. I reopened my project and
the form appeared but the controls were no longer visible. If I opened
the Properties window dropdown all the controls
were there although they were not visible on the form. I exited the
project and changed my resolution back to
800x600 and then reopened my project again. As before the form was there
but no controls were visible and
I could select the controls from the Properties window dropdown. Is there
anyway to recover from this since the
project seems to think the controls are on the form although I can no
longer see them? Also, the system generated
code that gets created with the new .NET technology also contains all the
control information. Has anyone had a similar
 
Back
Top