Vb net form size to the screen resolution Net forms, but it allows maximum form width = 1036, height = 780 for resolution 1024x768. Jul 29, 2021 · How to auto-fit my vb. In Windows Forms you have FlowLayoutPanel, and TableLayoutPanel that can be used to layout the form so that things move or resize based on the current form size. May 8, 2016 · The form should be the same size (in inches) if the bigger screen has the same DPI (dots per inch) set for their screen resolution. Screen. To fill the monitor while respecting the taskbar and multi-monitor setups, size the form to the current monitor’s working area rather than the raw screen bounds. Using the Responsive Class in a Form that Requires Responsiveness What is needed is to simply create an object of this class in any form where responsiveness is intended. 800*600 everything blows up and the Jan 23, 2011 · Much info at Automatic scaling (Windows Forms . Net Framework 4. For school we're designing windows form application for a mobile device. But now I have to move my application to 10inch screen tablets, Nov 23, 2009 · There is a minimum (and maximum) size property for the form you can use to keep it from getting too small for its controls. Screen resolution To set the resolution (100% or higher) as the screen size in WinForms GridControl, the size and height controls have to be increased. Bounds or Screen. I have a question regarding screen resolution when creating a form. Also, you can get a list of screens from the Screen. WorkingArea states that screen is not declared. Height, but it's returning the resolution of the primary monitor instead. Primary property. May 28, 2017 · Inside the Visual Basic IDE, the Screen object reports an incorrect value for the desktop width after the screen resolution is changed. Anyway, with my 'cure' for that, then VB doesn't behave quite normally. 6K subscribers 336 Dec 1, 2010 · You can set the position and size of the controls form ResizeEnd or Resize event, based on form's size. Jun 2, 2010 · As for rescaling due to screen resolution; probably a good idea. I use this usercontrol for my programs and now I am not afraid with client screen resolution anymore Nov 8, 2023 · Learn how to create adaptive and resolution-independent WinForms apps for . Screen. Then you distribute the program and your customers run it on a screen with 640 x 480 pixels. The easiest way is to change the size of the form to fit exactly what you want, but is maybe not possible. Now, let's start this tutorial! 1. net & C#)Tags:How to resize controls dynamically with the form in visual studi Oct 3, 2015 · Screen Resolution I am using VB 2010 and am new to it. Height - 20 If you don't want to use the Maximized Screen property, you may look at this: Change Resolution Of Form Based On Screen Resolution ( without changing monitor resolution and using Maximized screen option ) Jan 25, 2018 · There's also a fourth concept: the physical size of the monitor. NET Windows Forms and Visual Studio. net application (2008 Express). Create this class, I called it Resolution. The problem is, I developed it using a screen resolution of 1920 x 1080. Jul 19, 2014 · If you are trying to perform the task in your subject line (“Auto Resize Form to Fit Any Screen Resolution”), you will certainly want the height and width of the screen. On my pc I'm using my screen resolution as a standard for Form's size , and object's size inside forms. net forms autmoaticly adjustable. I mean the form which was developed in 1024 by 768 should be resized automatically when the display resolution changes to 800 by 600 Thanks Ananda Oct 2, 2008 · I have a visual basic 6 application that I am trying to change the size of the forms and the controls based on the screen resolution. Rectangle workingRectangle = Screen. What would be the best options to meet the destination resolution? Or change the… vb net How To Resize form elements when the window is resized Visual Basic social networks Twitter - / ea_plus pinterest - / mauricemuteti20 instagram - / mauricemuteti2015 facebook Profile- https Oct 15, 2014 · Is there a specific form size that you seasoned programmers lean toward when you're designing a new application? Nov 2, 2023 · Re: Change screen resolution There's nothing built into . The value cannot be greater than 12 pixels over each screen dimension (horizontal + 12 and vertical + 12). Thanks for watching! :) Want to see more? Since I put lots of controls on the form, and this application is supposed to be run on different PCs, I need to detect the computer's screen size or resolution size, and resize my form as long as all of the controls. Net code. I developed the form of size 3840x2 Sep 30, 2021 · I am currently developing a windows form application to run on 4K monitors in Visual Basic. Stop trying to make things hard. For this issue, usually click the "Restart Visual Studio with 100% scaling" option or set the Visual Studio software to ignore Windows' DPI display scaling. Suppose you carefully craft a form sized to fit your screen. I would like to figure something out that allowed me to just place and size future controls and have VB take care of scaling it for me. Of course , on my pc all the forms looks as should be. Bounds or My. NET Windows form so that control (picturebox) is desired size and maintain aspect ratio while resizing Asked 11 years, 8 months ago Modified 11 years, 8 months ago Viewed 3k times C# windows form for all screen size With resize Controls and Positioning (how to make windows form responsive) Feb 28, 2014 · Size . NET forms, including font sizes, when the form is resized. 7. This tutorial was aimed at solving this problem by limiting the size of the window to what you have designed in the form builder pane. NET? Mar 2, 2015 · The difficulty with using print form is that your screen resolution is different to the printer resolution. WorkingArea; If you want to know which is the primary display screen, use the Screen. When the AutoScaleMode property of your form is set to AutoScaleMode. I developed the application at a screen resolution of 1600x900, and I know now that it would have been better to develop it at the smallest resolution. Width properties as such: Dim screenHeight As Integer = My. Jan 3, 2012 · I have the two tabcontrols resizing according to the form's size in the form1_sizechanged () event by manually calculating their new size/position relative to their original starting size/position. net. Size The above code works well, except that it reclaims the Mar 9, 2023 · Dim wid = System. Mar 9, 2015 · Here is a pic of my form: 124513 As you can see, it fits my screen resolution of 1680 x 1050 perfectly (the $ button expands the selection to show the other half of the form because at run-time, the form size is set to hide it). Location = FormRect. How to resize my controls and form according to my screen resolution? how to adjust my controls according to screen size? Thanks in advance Oct 12, 2017 · I'm thinking with "trickery", if you had a transparent form that you filled the screen with and a container that looked like a form that you could resize and move around you would give the impression that you were creating a form that could be larger than the desktop and moved around. I set a high resolution so I can fit more on the screen. That happens even when I use the little constant-distance-snap thing 'connecting' the control to the form's borders. I can get it to size to the screen size, but it is not proportional. This is easiest if you place the controls inside a PictureBox. Height Dim screenWidth As Integer = My. Computer. Before going any further, I would caution you that an application adjusting the user's display resolution is unexpected and potentially creates a hostile user environment. PrimaryScreen Property in VB. Fortunately it's easy to cover the entire screen. 1 I'm developing an application on vb. See more from ComponentOne today. The resolution changes, but my form remains the same size. Use Form Resize event to change whatever you want I don't know how font size (label, textbox, combobox, etc. NET code. Jul 23, 2013 · I designed my program with forms to fit 1920 x 1080 resolution, as all the computers this program will be running on is windows 7, and that is the recommended resolution. Getbounds (Me) ' Set The Form's Location And Size Me. The resolution can obviously vary from screen to screen. net form. Obviously the code would need to be adjusted for any monitor other than the primary. DpiY. For example, I have a form that is always full-screen, but the number of controls on the screen (they are just icons of two sizes) depends on the screen resolution. FromControl(myForm); Rectangle area = myScreen. Apr 7, 2023 · Hello, I would like to know if it were possible to check and modify the scale of a display via VB. I succeed in checking the resolution using the command: My. However, when opening the form, I've discovered that when the form's size have been set to a small size, like 67, 67, the form's window often becomes stretched. This example requires Aug 14, 2017 · I tried going to my Form’s properties and set the height to 3000 and maximum size to (1300, 3000) however it keeps on reverting to 1024- i read some forum and they said that the size of the form is dependent on the screen resolution. You will need to make sure it doesn't crash when the form is minimized or made very small. Bounds Screen. However, the forms will look smaller if the user with the bigger screen has a greater DPI resolution. Width Dim hy = System. For StateImageList, works without that changes with . Computer. Height = Screen. It appears that in WinForms, there is no automatic way to scale controls depending on the display resolution. What I want is users with screen resolution 1920x1080 will be able to read those labels with same size that I read in my screen. net form into different screen resolutions? I created the form from desktop and it's perfectly fine it displays the entire form but when I open the form in laptop the form does not fit to laptop screen. NET. Aug 27, 2002 · I am creating an application in VB 6 that has many forms and each forms has several different controls. There is a need to run this application on different resolutions and scaling variations. Any feasible solution is there? Basically I'm working with vb. I know it's easier to use wpf, but for the sake of this project we have to use windows forms. Discover tips, common questions, and best practices for successful app development. I have figured out how to change the form size but my problem Mar 28, 2012 · Dear ALL, How to auto adjust vb screen when computer change. May 7, 2025 · Automatic scaling enables a form and its controls, designed on one machine with a certain display resolution or font, to be displayed appropriately on another machine with a different display resolution or font. I've found some solutions for apps with 'DPI aware' in How to get Windows Display settings? Jun 12, 2018 · I need the screen DPI so i can adjust my program accordingly. The code works to full screen resizing and has seamlessly redrawn control sizes as form edge is dragged real time for me. You will have to use the appropriate Windows API function (s). Nov 26, 2019 · I've developed a windows form App in Visual Studio 2019 (using VB. If these codes are ment to display current resolution, is there a way to display maximum resolution possible for each monitor? May 2, 2023 · With Visual Basic 2022 (. Form as we have 1024x768 you're size will be the following", or if the resolution is 1920x1080, then tell Mr. It even changed the font sizes on the controls. C# windows form for all screen size With resize Controls and Positioning. Jun 5, 2015 · Some of them have really old computers with really low resolution and they can't access it easily since the form and the controls are oversized for them. Jul 3, 2006 · Screen. It runs fine, until someone with a lower resolution runs the routine. Bounds to get the screen size and set the form size accordingly, or possibly maximize the form if the screen is below a certain size. Dec 21, 2016 · This app will be used at 2 screen resolutions (1024x768 and 1920x1080). How can I increase form size with same resolution? Learn how to get current screen resolution size using Screen. May 7, 2025 · Learn about support in Windows Forms for common high DPI and dynamic DPI scenarios. For this project we chose one device with a specific screen size and resolution (5" and a 720*1280 resolution), so it's not like it has to be responsive. net that needs to change the screen resolution and then adjust the form to fill the new screen. Is there any way we can change the size of the forms according to screen resolution? Thanks for any help Apr 1, 2016 · 2 I have created a windows application where the form size is large enough to view. I developed the form of size 3840x2 Sep 3, 2015 · Learn to dynamically resize and reposition controls in VB. NET) site Also others attempting to completely explain auto scaling Some say to set AutoScaleMode property to Dpi, other to use Font Some mention AutoSizeMode property to GrowAndShrink others do not Some say to add to the application manifest Nov 26, 2019 · Hello! I've developed a windows form App in Visual Studio 2019 (using VB. 5 inches. Mar 8, 2021 · 0 By using Screen (Screen. Oct 19, 2007 · I have a program in VB2005. The form will take up less of the screen, but will be the same size. However, it seems hard to get DPI or monitor scale information for each screen in multi-monitor setting. Feb 12, 2014 · Is there a way to make a background image auto size so that it fills the form or desired space. The example code creates a new form that is positioned in the center of the screen with an Opacity property set to change the opacity level of the form. Aug 2, 2023 · For what you said, setting a scaling factor of 125% has an effect on the Winforms designer, mainly because Windows Forms Designer does not scale, WPF does this because it is vector-based, but WinForms is pixel-based. DrawImageUnscaled method to draw images with different resolutions, this will make them display with their relative printing size. My problem is when I run my application on a low resolution monitor (1366*768), my application don't scale up according to the screen resolution. I scoured the internet and whilst there are a few solutions for a forms project I can't find anything for a console project May 17, 2004 · How can I programmatically change the size of the form when resolution changes to different pixel. NET to set the screen resolution. What I would like to achieve is to get the current screen resolution, say 1024x768 and tell a form "well Mr. How would I set my form size to be the screen's resolution? How can I have a vb6 program which opens correctly in 1280*1024 but when switched to other resolutions say 640*480 i can only see half of the screen. Example: Here is how I resize the form to a size half-way between its original size and the size of the screen's working area. ) within a VB form. Apr 11, 2025 · Explore the FAQ guide on building responsive Windows applications using VB. NET application? Changing the screen resolution is a little more difficult. Heigh are supposed to return not the current resolution but the maximum resolution, but when I change resolutions, the numbers for these variables change. Do I have to handle a form. The DpiAware property is enabled to true, and it considers the pixel-wise increment. Mar 21, 2014 · you could try using a TableLayoutPanel to better fit and control the layout, but a minimum screen size or even form size is not unreasonable. and again at Microsoft Connect/Public Bug Tracking: Posted by Microsoft on 10/9/2008 at 12:18 AM Nov 8, 2023 · To get the current screen resolution in VB. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. I am working on a 21’ screen how will I take care of the form sizes and the controls in it when it will run on a 15’ screen. You can use Screen. It keeps controls aligned well. Jul 11, 2020 · He really done a great job for anchoring and docking, you won;t have problem with screen resolution and controls not fit, or overlap etc. FromControl(Me). I have been using "screen. 5. Feb 3, 2024 · Re: Resize Form & Controls For Screen Size - VB6 Not to be the devil's advocate, but there used to be a Resize 3rd party control available for very little cost that did about everything automatically for you as the form was resized. If you make your form bigger on a higher resolution then you're violating the wishes of the user and that does not good software make. You'll get the same results with the default controls. Scale fixed size Form 's manually after creation. WorkingArea is a Rectangle that excludes the Taskbar and any other unavailable area. I also Dec 15, 2005 · Resolution shouldn't be an issue. Height I can get the CURRENT resolution of a monitor. The following example demonstrates how to create a form that is displayed with an opacity level of 75 percent. Avoid using TopMost for this; it only keeps the window above others, it does not manage size. I found the solution was to leave the form’s minimum size property at 0, 0 at design time and set it with code in the formload sub. Apr 16, 2007 · Introduction If you are a long-time Windows developer, at some point in time you must have faced the difficulty in adjusting your forms and dialogs for multiple screen resolutions. Those types of apps attempt to scale controls on a form based on screen resolution and/or form size. See the How can I re-size controls based on resolution? thread. Drawing. When its closed, it change to the original screen solution. I have added scroll bars to move through the controls. I have used 2010 forms to develop a small training routine. Feb 24, 2016 · C# windows form for all screen size With resize Controls and Positioning (how to make windows form responsive) Set ImageList. NET Form measures 15 x 15 on my computer monitor screen where the screen resolution is 800 x 600 pixels. Usually the size became bigger with low resolution and became smaller with high resolution. EventArgs e) { // Retrieve the working rectangle from the Screen class // using the PrimaryScreen and the WorkingArea properties. g. AllScreens for multiscreens) class, the basic information of screens can be derived easily. Height Screen. . Apr 23, 2019 · Screen. The example code also sets the Size property to provide a larger sized form than the default size of the form. private void Button1_Click(System. But not one by one. You position every control exactly to achieve the perfect visual effect. Object sender, System. Sep 1, 2010 · Hi all i have a win form application in vb. Dec 27, 2003 · Hi guys, I am using VB6 and have a form that has many controls. Jan 4, 2015 · Me. ###Design Guidelines: All ContainerControls must be set to the same AutoScaleMode = Font. Height this code doesn't work in server side it work fine when i use visuel studio i tried another code using javascript and the width i can't call it in vb. Jul 5, 2006 · Why should the screen resolution affect the size of your form? If I set my screen resolution really high it's not because I want the forms to be bigger. The size of each screen is 1361, 768 in pixels. Some have different display resolution and scale. This was written for VB6 but the same principle applies in VB. Please help me. Apr 14, 2008 · It's a trick question "screen resolution" means outer bounds (Screen class has Bounds property), also called display resolution. However, when I resize the form in the Designer say to 1943x1284, I see the same form of 421x285 in the exe! Jun 3, 2004 · To display an image in printing resolution in a form you can create a big "paper canvas" Bitmap with default screen resolution and use Graphics. So my question is How to detect the screen DPI using VB. My question is, is there a way to auto-size the picture so it "fits" into the picturebox? Nov 18, 2011 · After simply placing the datagridview on the form, the grid stays the same size when the form is resized. If screen resolution is less (say 1280 x 960, as compared to 1920 x 1080), what is it you'd like to do? Make your form and controls bigger or smaller? That's very unclear to me. Feb 23, 2010 · It depends upon your screen-resolution, know your screen resolution, and you can resize it to that. May 14, 2015 · This tutorial will teach you how to create a program that can detect and display the screen resolution in vb. I am designing the program in 1920*1080 and when I change the resolution to e. Does anyone have Jul 11, 2011 · MSDN Property Form. how to re-size my vb6 program so that it automatically fits in any screen resolution? Mar 1, 2014 · Is there any implemented code to get screen resolution? I want to make a program which will work different for different screen resolutions. net like the variable is empty has no value this is the code : Sep 30, 2021 · I am currently developing a windows form application to run on 4K monitors in Visual Basic. System. resize event of some sorts, or is there a property I can set in VS? Now I want to set the same form size in VB. Feb 28, 2014 · Size . The current resolution is provided in the constructor. it works fine but trouble comes when i change my screen resolutions. So when u take it to a client computer where the resolution is smaller for example, part of the application will be off the screen area. The screen resolution defines how many pixels make up the view port. Dec 5, 2014 · Hi, I wantd to know how to adjust my form size such that, when i run my code in a different monitor with different screen resoultions my program should Jul 27, 2015 · The first few variables deal with the screen resolution settings; for example, the width of the screen as well as the height of the screen. net anyway I welcome a solution from C#. Dec 17, 2015 · Getting the width and height of the screen the form is on Hi. Jan 19, 2022 · 2 So I'm trying to make my form fit to all monitors. Jan 30, 2021 · I make a WPF application in . Jul 4, 2017 · For instance, when the form's Size property is set to 1606; 1284 in the VS property browser, the result size of the form on the screen displayed from the exe is 421x285. May 18, 2018 · Anyway, a simple measure of the Screen size can be calculated using Dim ScreenSize As Rectangle = Screen. Form its form size will now besomething Dec 30, 2010 · This is assuming you didn't mean what you asked: if you want to set the control size based on screen resolution then simply use the Screen object to determine the size and set your control size appropriately at the required time (in the form_load event, for example). I'm attempting to get the resolution of the screen the form is on in vb. Apr 25, 2012 · [RESOLVED] VB. Apr 21, 2015 · I’ve created an app in Visual Basic on my desktop PC with a screen res of 1280x1024 and used images that I’ve created in illustrator as background images and buttons (the largest images is a backgroud image 1004x804) . When the application is executing outside the IDE, the Width and Height properties of the Screen object return incorrect values if the resolution is changed from the Display Properties icon in the System Tray. NET 6 using C1Sizer. resolution of: (1366 x 768) but the App shows up incorrectly, some controls are overlapped on top of each other seems like the windows form I developed is too big to fit the laptop's screen. I designed an application (in VB) which looks great on my system but when I transferred the application to the clients system it doesn't seem to fit in the screen. I created a winform application. ImageSize according to CreateGraphics. AllScreens (0). ) will be affected in (1) - (4), but it can be controlled in (5). It would be great help if anyone gives solution for dynamic re-size/fit the form & controls for any display (small-100%, medium-125%, large-150%) and also Is there any way to find the Display size (small-100%, medium-125%, large-150%) in vb. The next few variables will be used with changing of the visual Styles of your screen. I mean it should either shrink or Mar 20, 2023 · Hi, I have a VB Forms application, which is compiled at 1366 x 768 resolution. how to make windows form responsive Jan 5, 2015 · I doubt there is one solution that works in all cases. This is because the forms are sized by pixels: The AutoScaleMode property on a form is set to Dear fellows , its a nightmare for me to set the resolutions of vb. Feb 16, 2016 · My application was developed in 1366 x 768 screen resolution (as shown in Screenshot1) but when I run this application in different computer (PC2) with different monitor size and different screen resolution the form appeared too big and part of the application is missing or is out of the screen. I want the form to shrink or maximize based on the screen resolution of the display such that the user can view all the controls in a compact way. Location Me. Apr 16, 2005 · Form size versus screen resolution My vb. Sep 24, 2009 · If I have form say sized 1300 x 800, I would like to proportionally size the form to the computers screen size. I Dec 12, 2018 · Re: Designing with very large form (size beyond screen resolution) Move the panel? {Adjust the Y value of the Location property, setting it to whatever negative value you need to see the portion of the panel you want to work with. In the past, developers used various techniques to avoid such problems, including resizing controls at runtime by handling certain event handlers. "Ok, my response to that is pending a Google search" - Bucky Katt. Width Dim intY As Integer = Screen. Nov 6, 2025 · Fix DPI display problems in Windows Forms Designer in Visual Studio to correct scaling and rendering on HDPI (high dots per inch) monitors. DPI, it enables automatic scaling of the form and its controls designed on a machine with Jan 7, 2023 · Set the Minimum Size of the form to a proper value. That would defeat the purpose. 5 inches by 13. Jun 7, 2016 · I realize when I change the resolution from 150% to 125% and reopen the application, the controls are back in the correct place due to the windows form is now having a larger scaling size. 0. Size: The maximum value of this property is limited by the resolution of the screen on which the form runs. Width = Screen. I tried the auto size property in the form but that doesn't work. AllScreens property. WorkingArea; // Set the size of the form slightly Dec 24, 2014 · I have just come across this problem setting up a form in Visual Basic in VS2008. FromControl (Me). primaryscreen. Hello Friends, In This Video I Will Show You How To Responsive Form Design In C#. Bounds. Width and Screen. I developed this application on my Laptop which has full HD resolution (1920*1080). If someone changes their screen resolution, I'd tend to not concern myself with it from my program. Any ideas? Jul 23, 2013 · I designed my program with forms to fit 1920 x 1080 resolution, as all the computers this program will be running on is windows 7, and that is the recommended resolution. 2) How do I change the current screen resolution from my VB. I need to use a larger font on my computer because it has such a high resolution that I can't even find the text let alone read it. resolution of: (1366 x 768) but the App shows up incorrectly, some controls are overlapped on top of each other seems like the windows form I Oct 23, 2021 · There are many explanations on how to develop an application that will use the display resolution to adjust automatically its forms and controls. NET Windows form so that control (picturebox) is desired size and maintain aspect ratio while resizing Asked 11 years, 8 months ago Modified 11 years, 8 months ago Viewed 3k times C# windows form for all screen size With resize Controls and Positioning (how to make windows form responsive) // This method will adjust the size of the form to utilize // the working area of the screen. NET capable to do scaling? Or we must add code by ourself? Thank you. Form 's size. Size = FormRect. Jan 27, 2021 · If I write an application that has labels with font 12 pt Tahoma in screen resolution 1366x768. Jul 4, 2007 · But my major problem is that vb keeps the resolution of ur screen while you're developping the application. The size and location can either be set in the Visual Studio designer or through code. Net Code to Autosize an image I have several images that are going to randomly display in a picture box on a vb. Your form is still the same number of pixels wide and the same number of pixels high regardless of the resolution of the monitor on which it is being displayed. This is why you are experiencing the problems mentioned in your question. Windows. Also learn how to configure Windows Forms applications for high DPI support. For more specific measures, see: SystemParameters. NET Framework 4. DpiX and . "working area" is the WorkingArea/desktop area. While with changed screen resolution, the user can use the form but what I want is to get the form to appear on any of the resolution in the same way. Forms. Bounds Is there something similar even for the scale factor? Jan 18, 2021 · I've created a small form in Visual Basic . I have the screen resolution changes controlled by radio buttons. I have many different size monitors that can range from 17 inches to 22 inches. Both Bounds and WorkingArea properties is of type Rectangle. NET you can use the Bounds. For example, I design a Form of a large size Size Forms to Fit the Screen This tutorial describes several ways a program can handle different screen resolutions. I would like to know what are the suggested size of the form and what are the parameters to set to make the form screen resolution adjustable. Dec 26, 2017 · Will attach screenshots of my main screen on every resolution where the look and feel distorts… i also tried putting t heindividual elements into panels and docking the panels to get the expected results but couldnt perfectly apply the solution… Feb 25, 2023 · Hi Maybe on the wrong track here, but I have seen similar effects before. 5 inchs by 18 inchs. Which itself could cause some weird behaviours sometimes. If your form is resizable you should surely have already taken care of making the form appear correctly when it is resized. However, the task was certainly […] Add the code to the form loadHow maximize windows form to full screen on form load in Visual Studio with VB Mar 27, 2014 · Hello Saed, Please note that this behavior is not specific to our controls. Bounds is a Rectangle that accounts for the full resolution. I can resize my form to fit to the display but all properties of its contents don't adjust to that new size. WinForms provides automatic scaling based on Font and DPI. This worked great for larger screens and/or laptops. But it becomes confusing and I tried so many things that didn't work so my question is: Mar 30, 2020 · Just create your form the size you want it to be and then display it that size no matter the resolution, just like everyone else does. See the Automatic Scaling in Mar 8, 2010 · Form myForm; Screen myScreen = Screen. You might want to search the CodeBank and UtilityBank sections for auto-resizers. Apr 15, 2013 Â