Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 3rd, 2006, 10:21 AM
Authorized User
 
Join Date: Oct 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to resize a windows form on any Resolution Scr

Hey guys how is everyone doing today?.

I have a small problem with my program. First I have a HUGE!! and I do mean HUGE form which looks good on a 17in monitor with
resolution of 1280 * 1024, but if I decide to put the form in 1024 * 768 which most people use as normal resolution the form can't be used fully.
Meaning there are textboxes that the user can't even see because the form just goes out of portion.

So my question is how can I fix this problem...do I need to tap into some kind of Direct x stuff...which I know nothing about..or do i need to have a Verticle Scroller
implemented..and if I do put the V scroller how do i program it so when I load up the form i can use it...because when i try to put it on the form it really didnt do anything.

Thankyou in advance for the help guys :)

 
Old May 3rd, 2006, 12:56 PM
Registered User
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure if you have tried this or if it would apply, but have you set the Autoscroll property of the form to "true"? This would enable scrollbars if the controls go off of the form.
 
Old May 3rd, 2006, 05:56 PM
Authorized User
 
Join Date: Oct 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by dragondayz
 I'm not sure if you have tried this or if it would apply, but have you set the Autoscroll property of the form to "true"? This would enable scrollbars if the controls go off of the form.
That is definetly what I needed lol. I don't know how in the world i didnt think of that. I just thought if you added in a vScroll on the Form it would do it for you..and there you see me going crazy thinking its a code i have to insert at the Vscroll lol.

Thankyou for helping this noob out as well as any other noob that needed the info and read this post :)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Resize form AccessAasif@aol.com C# 1 December 7th, 2007 03:53 AM
Form resize at runtime leehambly Access VBA 4 December 21st, 2006 09:35 AM
I need to resize other active windows danny1 Visual C++ 0 May 20th, 2005 02:00 PM
I need control to resize other active windows danny1 Visual C++ 0 May 20th, 2005 01:58 PM
Resize Form quocanh General .NET 1 October 12th, 2004 12:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.