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 permanently. here's what i
basically have now:
1 form with 5 buttons to launch other forms. this launcher form will go .
visible=false and .visible=true when the other forms open and close. it is
not editable in any way, popup=no, modal=no, autoresize=no, autocenter=yes,
and border=thin.
all the other 5 forms have exactly the same settings.
i just want to keep them nice and neat looking but when they're maximized,
it's quite absurd looking to see 6 or 8 labels and controls in the upperleft
corner of the screen and nothing else anywhere. any thoughts?
--
Message posted via http://www.accessmonster.com 4 3100
"ka******@comca st.net wrote 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 permanently. here's what i basically have now:
1 form with 5 buttons to launch other forms. this launcher form will go
.. visible=false and .visible=true when the other forms open and close. it
is not editable in any way, popup=no, modal=no, autoresize=no,
autocenter=yes, and border=thin.
all the other 5 forms have exactly the same settings.
i just want to keep them nice and neat looking but when they're
maximized, it's quite absurd looking to see 6 or 8 labels and controls in the
upperleft corner of the screen and nothing else anywhere. any thoughts?
My suggestion is to follow the "Windows Way" and let the user have control
of their own desktop. There are various approaches to resizing the content
of a Form, but I have never actually met anyone who wanted the labels in a
small form that was maximized to be in 288-point type, centered, so that the
contents filled the larger view.
If the user, for reasons of his/her own, wants to maximize and have all the
controls in the upper left hand corner, then that is the user's choice, not
yours or mine. If they do not, then they don't have to click the maximize
button.
If you feel _compelled_ to irritate the users of your database application,
you can Maximize the Form in the Open Event, but I caution there are many
like me who'd have to see vast and great benefits to keep using an
application which maximized every form.
Larry Linson
Microsoft Access MVP
i don't want to MAKE it be maximized. i actually would much rather it be a
small little form about 4 inches across by 6 inches high. most of my forms
are about this size. if they want to maximize it, they can. i didn't take
those controls away. i just cant' get the forms to start off at the size
that i meant for them. and then occasionally one will go all long on me. it
will go from a 4x6 to 4x15 or something and the bottom of the form where
there are a couple of command buttons, will be off-screen even if the top
edge of the form is moved to the very top of the screen. i thought since
this was my first db, that i didn't have some property set right or something.
am i making more sense now?
Larry Linson wrote: 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 permanently. here's what i basically have now:
1 form with 5 buttons to launch other forms. this launcher form will go . visible=false and .visible=true when the other forms open and close. it is not editable in any way, popup=no, modal=no, autoresize=no, autocenter=yes , and border=thin.
all the other 5 forms have exactly the same settings.
i just want to keep them nice and neat looking but when they're maximized, it's quite absurd looking to see 6 or 8 labels and controls in the upperleft corner of the screen and nothing else anywhere. any thoughts?
My suggestion is to follow the "Windows Way" and let the user have control of their own desktop. There are various approaches to resizing the content of a Form, but I have never actually met anyone who wanted the labels in a small form that was maximized to be in 288-point type, centered, so that the contents filled the larger view.
If the user, for reasons of his/her own, wants to maximize and have all the controls in the upper left hand corner, then that is the user's choice, not yours or mine. If they do not, then they don't have to click the maximize button.
If you feel _compelled_ to irritate the users of your database application, you can Maximize the Form in the Open Event, but I caution there are many like me who'd have to see vast and great benefits to keep using an application which maximized every form.
Larry Linson Microsoft Access MVP
--
Message posted via AccessMonster.c om http://www.accessmonster.com/Uwe/For...ccess/200512/1
Do a MoveSize in the form load event
e.g.
Private Sub Form_Load()
Me.SetFocus
DoCmd.MoveSize 1000, 200, 6000, 4000
End Sub
or
Private Sub Form_Load()
With DoCmd
.SelectObject acForm, Me.Name, False
.MoveSize 1000, 200, 6000, 4000
End With
End Sub
--
Terry Kreft
"ka******@comca st.net via AccessMonster.c om" <u15580@uwe> wrote in message
news:5840fb852c da9@uwe... 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 permanently. here's what i basically have now:
1 form with 5 buttons to launch other forms. this launcher form will go . visible=false and .visible=true when the other forms open and close. it is not editable in any way, popup=no, modal=no, autoresize=no, autocenter=yes, and border=thin.
all the other 5 forms have exactly the same settings.
i just want to keep them nice and neat looking but when they're maximized, it's quite absurd looking to see 6 or 8 labels and controls in the upperleft corner of the screen and nothing else anywhere. any thoughts?
-- Message posted via http://www.accessmonster.com ka******@comcas t.net via AccessMonster.c om wrote: i don't want to MAKE it be maximized. i actually would much rather it be a small little form about 4 inches across by 6 inches high. most of my forms are about this size. if they want to maximize it, they can. i didn't take those controls away. i just cant' get the forms to start off at the size that i meant for them. and then occasionally one will go all long on me. it will go from a 4x6 to 4x15 or something and the bottom of the form where there are a couple of command buttons, will be off-screen even if the top edge of the form is moved to the very top of the screen. i thought since this was my first db, that i didn't have some property set right or something. am i making more sense now?
Larry Linson wrote: 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 permanently. here's what i basically have now:
1 form with 5 buttons to launch other forms. this launcher form will go . visible=false and .visible=true when the other forms open and close. it is not editable in any way, popup=no, modal=no, autoresize=no, autocenter=yes, and border=thin.
all the other 5 forms have exactly the same settings.
i just want to keep them nice and neat looking but when they're maximized, it's quite absurd looking to see 6 or 8 labels and controls in the upperleft corner of the screen and nothing else anywhere. any thoughts?
My suggestion is to follow the "Windows Way" and let the user have control of their own desktop. There are various approaches to resizing the content of a Form, but I have never actually met anyone who wanted the labels in a small form that was maximized to be in 288-point type, centered, so that the contents filled the larger view.
If the user, for reasons of his/her own, wants to maximize and have all the controls in the upper left hand corner, then that is the user's choice, not yours or mine. If they do not, then they don't have to click the maximize button.
If you feel _compelled_ to irritate the users of your database application, you can Maximize the Form in the Open Event, but I caution there are many like me who'd have to see vast and great benefits to keep using an application which maximized every form.
Larry Linson Microsoft Access MVP
Open the form in design view and then switch to form view. Restore the
form if maximised. Resize to the size you want and press Ctrl-S to save
the size (I find this good for continuous forms where I want a certain
number of line items to appear).
Otherwise set the form to automatically resize.
I lso have some code (Someone else's code modified) to resize a form
proportionately depending on the user's screen resolution but I didn't
think that was what you were wanting.....
--
regards,
Bradley
A Christian Response http://www.pastornet.net.au/response This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ron Vecchi |
last post by:
I know the math I need to perform on width and height to keep an aspect
ratio but where and how would I implement keeping a set aspect ratio on a
form when a user resizes it. Override OnResize? couldn't quite figure it
out.
--
Ron Vecchi
|
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 only shows it very briefly,
but it's VERY visible during this time.
This happens with re-sizable forms too. And it 'feels' like re-sizing is
'jerky'; that is, lags a bit from my actions. I turn off visiblity to the
controls on the form while...
|
by: Galen Somerville |
last post by:
My current screen resolution is set to 1024 x 768. My form size always comes
up as 1032 x 748.
I have tried the help sample
' Retrieve the working rectangle from the Screen class
' using the PrimaryScreen and the WorkingArea properties.
Dim workingRectangle As System.Drawing.Rectangle = _
Screen.PrimaryScreen.WorkingArea
' Set the size of the form slightly less than size of
|
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 <afxwinforms.h>
#using <WinFormUserControl1.dll>
using namespace WinFormUserControl1;
|
by: ThunderMusic |
last post by:
Hi,
I have a custom form that works fine when I debug it or run it in release
mode but cannot be loaded in the designer... Actually, it can be loaded in
the designer when no control is on it, but the resizing tool (in the
designer) is offset both horizontally and vertically and when I put a
control on it, as soon as I save, the designer throws an exception (but
cannot be reproduced everytime) and the form cannot be loaded anymore unless...
| |
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 box's bounds would change. When the user releases the mouse the form's
bounds would be set to the bounds of the box. Note that this is very similar
to how the Splitter control works.
Does anybody know how to do this?
|
by: bmallett |
last post by:
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options within options. I have everything being dynamically named from the previously dynamically named element. (I hope this makes sense.) I am not able to retrieve any of the dynamically created values. I can view them on the source page but can't pull them...
|
by: R.A.F. |
last post by:
Hi,
Basically i've read that under C++ we can avoid flickering forms during
sizing (maximize, minimize, restore,...) in SDi/MDI application.
I understood that for that i need to override the WndProc with WM_PAINT
and WM_SIZE messages.
however, under MFC there is a useful method called SetRedraw(bool);
it allows or not, to redraw the relative control.
|
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 fixed width and you want textfields to be
as wide as textareas.
Now, we can use a bit of CSS to set the width and for textareas also
the height.
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |