473,387 Members | 1,892 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,387 software developers and data experts.

Maximizing forms

I'm calling a form from a button on a main form. I can't get it to come
in maximized. This is my code:
DoCmd.OpenForm sForm, acNormal
DoCmd.Maximize

There must be some settings I'm missing.

thanks,
mjm
Nov 12 '05 #1
1 1543
michael montagne wrote:
I'm calling a form from a button on a main form. I can't get it to come
in maximized. This is my code:
DoCmd.OpenForm sForm, acNormal
DoCmd.Maximize

There must be some settings I'm missing.

thanks,
mjm


In the called form (not main form), put in
Docmd.Maximize
in the OnActivate event and if you want
Docmd.Restore
in the OnDeactivate event

Nov 12 '05 #2

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

Similar topics

13
by: nospam | last post by:
NEWS.COM Amazon wins patent for ordering forms # 6,615,226 http://tinyurl.com/m7v8 http://news.com.com/2100-1017-5070569.html In its latest patent, the online retailing giant outlined a...
0
by: pnp | last post by:
Hi all, I have an MDI container form and a few MDI children forms. The problem is that while I have set that an MDI child has a maximum size and that it cannot be maximized, when another MDI child...
2
by: sympatico | last post by:
Why can't the form be maximized in visual basic .net by double clicking the title bar like it can in visual basic 6.0? When i double click the title bar of a form in a vb .net project, it just goes...
7
by: Elmo Watson | last post by:
(using VS.net 2005 - never used DotNet WinForms til now - previously only used VB6) I have set my mdi child form to a window state of maximized. However, the first file I open is not maximized...
0
by: cvetomir.todorov | last post by:
We have an app which must be single instance. When we start the app we check if it is already running (using the Process object in the System.Diagnostics namespace) locating it by the name of the...
1
by: Brett Romero | last post by:
Let's say I have a panel docked top and a datagrid docked middle. In the panel are three columns and three rows of combo boxes and one search button. Search results are displayed in the grid. ...
1
by: mac | last post by:
Hi everyone I need your help just want to know why my webforms doest maximize i paste the script on the onload event <head runat="server"> <title>Untitled Page</title> </head>
3
by: kannabiran | last post by:
Hi, I used this below code to maximize window its works fine..but the maximixe icon it doesnt changed its remains as the single box alone..i need a box overlap icon while maximizing the...
6
by: David In NH | last post by:
Hi All: I've got an application that uses a browser window to display help text for the program. When the user presses a button, a help window appears (maximized) in the user's default browser....
3
by: Doc John | last post by:
In my Windows application, how can I manage the size of my child Forms within my MDI Forms? For example, when I maximize one child Form, all the other Forms maximize. And I need to conserve all the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.