473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Form sizing

374 256MB
This has been the most annoying part to designing my system since the start.

Basically all my forms open up in popup form purely because I didnt want to use up the full screen. Anyway my issue is that all my main forms are the same size within the design view, no discrepancy there. But when I open them up and open/close/switch between the forms some are opening slightly bigger than others, mostly height wise.

Is there anything I can do to get what is shown in my design view to be correctly reflected in my actual form view? I have tried messing with the autoresize stuff, dialog, thing and sizable borders but it is still not right.


Thanks,

Chris
Aug 2 '10 #1

✓ answered by NeoPa

Absolutely Chris. Check out the Help section for .AutoResize for a fuller explanation of this.

If you have your form set to Continuous View then you are well advised to have .AutoResize set to On.

I have also found that, even with it set this way, the actual number of whole records shown still depends on the size it was at when last saved in Design Mode.

4 1578
NeoPa
32,556 Expert Mod 16PB
There are .AutoResize and .Width properties for the form, and a .Height property for each of the sections used. These should be enough to control the size of your form overall.
Aug 2 '10 #2
munkee
374 256MB
Thanks for the fast response Neo.

I have actually also found you get some weird sizing changes if you open the form up in design view and make some edits then save and switch to form view.

In order to get it reset back correctly you have to open the form in design view from the database window, click save and close it. Then open it up in form view from the database window.
Aug 2 '10 #3
NeoPa
32,556 Expert Mod 16PB
Absolutely Chris. Check out the Help section for .AutoResize for a fuller explanation of this.

If you have your form set to Continuous View then you are well advised to have .AutoResize set to On.

I have also found that, even with it set this way, the actual number of whole records shown still depends on the size it was at when last saved in Design Mode.
Aug 2 '10 #4
munkee
374 256MB
Ah I see now in the .AutoResize help!
When opened, the Form window has the last saved size. To save a Form window's size, open the form, size the window, save the form by clicking Save on the File menu, and close the form. When you next open the form, it will be the saved window size.
I have been messing around for ages with the border set to sizeable and trying to get it saved to the same size as my other forms. Oh well you learn something new everyday!

Thanks for the help
Aug 2 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: N. Graves | last post by:
I have checked the "Alignment and Sizing" toolbar but when I want to use in on aligning several form object the toolbar buttons stay grayed out. What am I missing. Thanks! N. Graves
1
by: What-a-Tool | last post by:
Have code that is called by my form re-size event. While the form borders are being dragged back and forth, this code will run continuosly, when it really only needs to run at the end of the...
1
by: blue_nirvana | last post by:
I am having trouble sizing a picture after inserting it into Word using VB.NET. I have a Windows form that allows a user to select several pictures from file. They can then export those pictures...
4
by: kaosyeti | last post by:
what's the best way to get a form to always open at a specific size. i've sized and saved the forms, changed the borders and had popup on and off all over but can't seem to get it to stay one way...
1
by: Peteroid | last post by:
It looks like when I make a Form resizable and/or hit the maximize button that it shows garbage (unitialized memory) for the new portions of the form and then fills it in with background color. It...
1
by: James | last post by:
CWinFormsDialog in .net 2.0 lets you host a .Net UserControl as a dialog in a managed C++ MDI application. I.e. in the sample: ----------------------------------------------- #include...
6
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I want to implement the following: If the user clicks on the border of a form, then I want to show a box around the form that represents the form's bounds. As the user moves the mouse only the...
6
by: =?Utf-8?B?R3JlZw==?= | last post by:
Yesterday I worked on three forms in my VB Application. I set their initial sizes at 1024,768, with one of them being a MDI Parent form and the other two child forms. Everything was working fine...
9
by: Jeff | last post by:
I've always set form element sizes by using size on textfields and rows and cols on textareas. That's always lead to inconsistencies and a bit of guesswork when you want a form element to fill a...
1
by: Earl Anderson | last post by:
With A2003, WXP, whenever I go into the Code Window (from Design View) and then close out of the Code Window, back to Design View and then to Form View, my form(s) are always cut short...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.