1 Attachment(s)
Finished project tried running on other computer, half misses off screen.
Ok i got my application, put it on my other computer which has a smaller screen. And i have my controls in a panel but it still gets them chopped off by the screen.
the part highlighted in yellow is the bit that gets missed off, what can i do here as i still want the search to be on the right.
How can i make the controls fit in the screen even on a smaller screen.
Re: Finished project tried running on other computer, half misses off screen.
Hey,
You need to make sure that you are using the Anchor and Dock properties of the controls correctly:
http://www.homeandlearn.co.uk/NET/nets13p1.html
Also, perhaps think about defaulting your form to maximized, rather than a hard coded width and height.
Gary
Re: Finished project tried running on other computer, half misses off screen.
Anchor those controls to the Right and Top sides only.
Re: Finished project tried running on other computer, half misses off screen.
When you say hard coded size what do you mean, i just have it this size in the designer and thats all
Re: Finished project tried running on other computer, half misses off screen.
And what size is that?
If the other computer has a resolution that is smaller than this size, then it will go off the edge of the screen.
Gary
Re: Finished project tried running on other computer, half misses off screen.
yes the other screen is smaller than that, but if i made it smaller i wouldn't be able to put things where i wanted them would i?
Re: Finished project tried running on other computer, half misses off screen.
Quote:
Originally Posted by
Emcrank
yes the other screen is smaller than that, but if i made it smaller i wouldn't be able to put things where i wanted them would i?
You missed post #3?
Re: Finished project tried running on other computer, half misses off screen.
no, i did that and they the controls went over the top of the buttons. How can i fix that?
Re: Finished project tried running on other computer, half misses off screen.
Did you read the article that I linked to?
It contains everything you need. A combination of docking and anchoring your controls.
Gary
1 Attachment(s)
Re: Finished project tried running on other computer, half misses off screen.
ok thankyou ive fixed that but now i have another problem.
The webbrowser goes underneith the ToolStrip at the bottom
The webbrowser is set to dock Fill and the toolstrip is set to Dock Bottom
How do i fix this?
its the bit highlighted
Re: Finished project tried running on other computer, half misses off screen.
Hello,
I have just tried to reproduce this, but I have not been able to.
What other controls do you have on the form? Can you open the Document Outline Window (View | Other Windows | Document Outline) and show a screen shot of it?
You might also want to think about using a ToolStripContainer.
Gary
Re: Finished project tried running on other computer, half misses off screen.
I dont have a View -> Other Windows -> Document Outline
I am using 2010 Express Edition