473,385 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Form Size

I created a form using 1024*768 res. Is there a way in vb.net to tell the
frm to 'adjust' it's size for say 800*600, or is it supposed to do this
automatically? I run the form on a couple of 800*600 res screens and part of
the form is hidden.
I remember a resize.ocx for vb6 forms, but I was hoping vb.net would have a
built in way of doing it.
Thanks
BUC
Mar 14 '06 #1
4 1887
Hi,

Why not simply set the Form WindowState property to "Maximized" ? It
would then cover the full screen whatever your screen resolution is.

Regards,

Cerebrus.

Mar 14 '06 #2
Maximized doesn't stop my controls from running off the side of the screen
in 800*600 mode
Buc

<Buc> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
I created a form using 1024*768 res. Is there a way in vb.net to tell the
frm to 'adjust' it's size for say 800*600, or is it supposed to do this
automatically? I run the form on a couple of 800*600 res screens and part
of the form is hidden.
I remember a resize.ocx for vb6 forms, but I was hoping vb.net would have
a built in way of doing it.
Thanks
BUC

Mar 14 '06 #3
<Buc> schrieb im Newsbeitrag news:Om**************@TK2MSFTNGP09.phx.gbl...
Maximized doesn't stop my controls from running off the side of the screen
in 800*600 mode
Buc

<Buc> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
I created a form using 1024*768 res. Is there a way in vb.net to tell the
frm to 'adjust' it's size for say 800*600, or is it supposed to do this
automatically? I run the form on a couple of 800*600 res screens and part
of the form is hidden.
I remember a resize.ocx for vb6 forms, but I was hoping vb.net would have
a built in way of doing it.
Thanks
BUC

Have a look at the Anchor and Dock properties.
Armin

Mar 14 '06 #4

<Buc> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
I created a form using 1024*768 res. Is there a way in vb.net to tell the
frm to 'adjust' it's size for say 800*600, or is it supposed to do this
automatically?


Always design for the smallest monitor resolution you intend to support.
Use the Anchor and Dock properties on each control to take advantage
of "larger" screens. If you're going down the inherited Form route, I've
found overriding the OnLayout methods more reliable for resizing and
repositioning controls.

HTH,
Phill W.
Mar 15 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
4
by: Philip Wagenaar | last post by:
I have made a form with a tab that containts groupboxes and those contain checkboxes. When I run the application sometimes the outlining for some groupboxes are not shown, if I switch tabs and...
3
by: Bill | last post by:
I'm using the POST method to submit a simple form html page with yes/no and checkbox fields to an asp response page which stores the values in a new dim string, then uses it to build a new table...
1
by: Sithlord999 | last post by:
Hello. I'm working on an email form on Dreamweaver and I'm looking for a PHP code to make it work. The form with some required fields would send the submitted information and two image attachments...
8
by: Ryan | last post by:
Ok.. I have a form with lots of stuff on it; a tool strip panel, menu strip, data binding elements (dataset, binding source, table adapter), tab control with 7 tab pages, each page contains a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.