473,511 Members | 15,818 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Set Window State

When my application loads I want to automatically Maximize the form.

In fact I want to have the Switchboard and all subsequent forms Maximized.

Can this be done via code. ?


May 24 '06 #1
3 6178
Hi Richard,

Add "DoCmd.Maximize" to the On Open event of the Switchboard.

This will keep your subsequent windows maximized , unless you resize
one of them. You could add the command to all your forms if you like to
make sure everything opens maximized.

Cheers - David

May 24 '06 #2
In the load event for the form

Maximize

HTH
--
-Larry-
--

"RICHARD BROMBERG" <no*****@att.net> wrote in message
news:6Q********************@bgtnsc04-news.ops.worldnet.att.net...
When my application loads I want to automatically Maximize the form.

In fact I want to have the Switchboard and all subsequent forms Maximized.
Can this be done via code. ?


May 24 '06 #3

"Larry Daugherty" <La********************@verizon.net> wrote in message
news:hSYcg.6068$p13.4034@trnddc07...
In the load event for the form

Maximize


I can't advise strongly enough _against_ arbitrarily maximizing all forms if
you expect your application to be used by others -- the "Windows Way" is to
give the user control of his/her own desktop. And, some users (I, for one)
can be downright grumpy if you try to force me to do it "your way,"
instead -- so much so that we might just find another piece of software to
use that doesn't so force us.

Larry Linson
Microsoft Access MVP
May 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
2519
by: danny | last post by:
Is there a way I can prevent the browser window from being closed? I'd like to make sure the browser window only closes programatically (I want to make sure the user enters data before moving on)....
18
12637
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes...
3
5601
by: James Spibey | last post by:
Hi, I have an MDI application which has aboout 10 child windows. The way the app needs to work is that only one window should be visible at a time and it should be maximized within the parent...
2
23479
by: Raj | last post by:
Hi All, I have a problem with trying to refresh the parent window from child window in order to update data in the parent window. The sequence of events are 1) I click a button in the parent...
5
1388
by: Jeff via DotNetMonster.com | last post by:
Hi, I'm trying to open a new window to bring up an external link once a value is selected from a drop down list. I'm trying the following but I get the error: 'If' must end with a matching...
5
5207
by: Cc | last post by:
hi, is there a way to get form state before resize?
8
17362
by: Luke Matuszewski | last post by:
I have read all posts about how to detect that url have changed to new page and trigger the event handler then eg. function aidLogout(evt) { if(evt) { /* maybe via analyse of evt object i can...
2
2011
by: none | last post by:
Hi, I'm opening a popup window with JavaScript. It has a command button. This is from the primary source (opener) window: ###################################################################...
3
3598
by: garyusenet | last post by:
I have a programme written in C++, the programme is unmanaged and is an executable, i don't have any source code. I'm writing a C# program. I want to (a) start the programme minimized. (b) send...
3
2891
by: ismailc | last post by:
Hi, I need help please! I have a link on a page, where i wont it open in maximized window state. the "_parent" allows to open in current window, but the maindow is never at maxmize state. I...
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
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
7371
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
5676
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,...
0
4743
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...
0
3230
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...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
bsmnconsultancy
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...

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.