Display Forms Question 
Author Message
 Display Forms Question

How do you create a form in VB, that will fit on different size monitors?

Example:

I want the form to fill the full screen on a 14" monitor.
If I then run the program on a 19" monitor, I would like the form to fill
the full screen.

Thanks

Jules



Sun, 16 Sep 2001 03:00:00 GMT  
 Display Forms Question
Set its Windowstate property to '2' - Maximized.
Quote:

>How do you create a form in VB, that will fit on different size monitors?

>Example:

>I want the form to fill the full screen on a 14" monitor.
>If I then run the program on a 19" monitor, I would like the form to fill
>the full screen.

>Thanks

>Jules



Sun, 16 Sep 2001 03:00:00 GMT  
 Display Forms Question

I would try to avoid this. Users generally like to be able to move and size the forms themselves. If you insist on forms being maximised you will{*filter*}a lot of users off.
Look at the way programs such as Word & Outlook work and try to copy them. You put code in the Form_Resize event to move and size some of the controls as the form shrinks and grows. Don't forget to check the WindowState property so you don't try to resize the controls when the form is minimised.
--

Simon Jones
MillStream Designs Ltd
Independent IT Consultants

  How do you create a form in VB, that will fit on different size monitors?
  I want the form to fill the full screen on a 14" monitor. If I then run the program on a 19" monitor, I would like the form to fill the full screen.



Sun, 16 Sep 2001 03:00:00 GMT  
 Display Forms Question
Hi,  If your increasing resolution, you can simply set the windowstate to
VbMaximized however all of your controls will appear smaller.  The drawback
is if you try to go smaller, you will not be able to see all of your
controls and the ones you do see will appear larger.  To set your screens
for functionality in any resolution you need to either write your own resize
code (which can get really elaborate especially when trying to plan for
lower resolutions) or use a third party control.    If you need to try a 3rd
party control, visit our website and download the AgFastform eval control..
--
Sincerely,

Todd B - Agendum Software
http://www.AgendumSoftware.com

Free tools for download!  Innovative Products!


Quote:
> How do you create a form in VB, that will fit on different size monitors?

> Example:

> I want the form to fill the full screen on a 14" monitor.
> If I then run the program on a 19" monitor, I would like the form to fill
> the full screen.

> Thanks

> Jules



Mon, 17 Sep 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. display form while a modal form is displayed

2. Question on Form Control Displaying

3. form display question

4. Custom form to create and Standard form to display

5. Displaying a window form in another window form

6. maximize child form display multiple tool box controls on main form

7. Display Form / Pic Box on other Form

8. How to have form display above another after clicking off form

9. Display Form from a background form

10. Display part of a form in a form?

11. Problem Displaying a form over another form

12. Developing OLE MDI Child forms displayed on Control MDI Form

 

 
Powered by phpBB® Forum Software