Solved

Form display problem under different screen resolution

Posted on 2004-08-27
7
258 Views
Last Modified: 2008-03-04
Forms are developed under resolution 1400x1050. Now the buttons at the bottom of the forms cannot be displayed under 1024x768 even in the VB.net design area. Can vertical and horizontal bar solove it or any other suggestions? I am a new user to VB and please show me how in detail.

Thanks in advance!

yanglin
0
Comment
Question by:yanglin
7 Comments
 
LVL 5

Expert Comment

by:thenrich
ID: 11916950
Make your forms smaller.
0
 

Author Comment

by:yanglin
ID: 11917013
There are more than 10 forms and each of of has many buttons, text boxes, and lables. In fact, I tried to make the form size smaller by changing its property but it still doesn't work. I mean the buttons at the bottom still cannot be displayed.
0
 
LVL 7

Expert Comment

by:natloz
ID: 11917784
When you make a form smaller...you need to re-adjust all of the labels and buttons so they fit on the new form size...if you just shrink an existing form...any buttons that are outside of the form boundries will be clipped and will not be visible...they do not reposition themselves as you change the form properties...I would never design a form larger then 1024x768 for production since very few people run this resolution.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 50 total points
ID: 11918198
>> Can vertical and horizontal bar solove it...?

I agree with the other two posts in that you shouldn't design your forms bigger than 1024x768 but...

...if you need a quick and dirty way to solve the problem just set the AutoScroll propety of your form to True.

Scrollbars will appear that will allow the user to scroll the form to get to the controls that are outside the visible area of the form.

Idle_Mind
0
 
LVL 3

Expert Comment

by:GrumbleBot
ID: 11918299
You can anchor your buttons to the bottom. Just change the buttons property Anchor to Bottom. Then when the form is resized the buttons will always stay the same distance from the bottom of the form.

Hope this helps.
Good luck
0
 
LVL 3

Expert Comment

by:GrumbleBot
ID: 11918309
You can also set the Anchor to Bottom and Right if you want the button to stay the same distance from the bottom and right side of the form.
0
 

Author Comment

by:yanglin
ID: 11919266
I didn't try others but suggestion from Idle Mind works. Thanks for that!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now