PC Review


Reply
Thread Tools Rate Thread

adjusting the Form size

 
 
Alexia
Guest
Posts: n/a
 
      14th Dec 2003
Hi,
just a quick question
How do i make sure that the form shown is the size of my
screen. i.e i want the form size to adjust to the
resolution that is set on my monitor.
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      14th Dec 2003
Hi,

Dim rWin As Rectangle

Dim sFrm As Size

rWin = SystemInformation.WorkingArea

sFrm = New Size(rWin.Width, rWin.Height)

Me.AutoScroll = False

Me.SetDesktopLocation(0, 0)

Me.Size = sFrm



Ken
-----------------
"Alexia" <(E-Mail Removed)> wrote in message
news:051501c3c1dc$bd8546e0$(E-Mail Removed)...
> Hi,
> just a quick question
> How do i make sure that the form shown is the size of my
> screen. i.e i want the form size to adjust to the
> resolution that is set on my monitor.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjusting the size of a picture Brad Microsoft Excel Programming 1 3rd Mar 2009 12:15 PM
Adjusting form size to screen resolution Miha Abrahamsberg Microsoft Access Reports 1 6th Feb 2009 09:14 AM
Notes - Adjusting Size Greg Microsoft Outlook 1 2nd Jun 2008 07:09 PM
Adjusting image size as % of screen size Huck Rorick Microsoft Frontpage 3 12th Jun 2007 07:22 AM
Adjusting Form Size Chaplain Doug Microsoft Access Form Coding 0 30th Jun 2004 02:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:14 AM.