Solved

Program Scaling - Maximizing Visual Basic 2008

Posted on 2009-04-09
1
234 Views
Last Modified: 2012-05-06
If I maximize my program's window, the buttons and fields don't expand they just stay as they are.
How can i fix it so that it will expand to the any resolution dynamically ?

Also want to know how can I lock it, stop a user from scaling the program's window.
0
Comment
Question by:disrupt
1 Comment
 
LVL 18

Accepted Solution

by:
Sethi earned 250 total points
ID: 24109995
You have to use Anchor property of every control to respond the way you want it to behave while maximizing.

For specifying specific size there is Mx Size and Min Size property in the form control that you can use.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 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

11 Experts available now in Live!

Get 1:1 Help Now