min, max, restore buttons

SunWuKung

Registered User.
Local time
Today, 06:54
Joined
Jun 21, 2001
Messages
172
Hi,
I am opening a form functioning as a Switchboard from code (from the Login form). I would like to have the Switchboard no min, max and restore buttons but to occupy the full screen.

I can do this if there are no menubars, but I have a custom menubar that I need to display. I've read the previous threads about min,max and restore buttons on forms but couldn't find the solution.

Could somebody tell me how to do this.

Thanks for the help.
SWK
 
go to the propeties of your form and look for the following two properties and set them accordingly:

Control Box - No
Min Max Buttons - None
 
Thanks. I've tried that.

Currently the form properties are set to
BorderStyle=Dialog
ControlBox=No
MinMaxButton=No
ClosseButton=No

I think one of the problem comes from the
DoCmd.OpenForm "SwithchBoard"
command. It opens the form in Normal mode. The restore button is there when the form is opened. If I than click on it the the form gets smaller and the restore button disappears and no more sizing is possible.
I tried to open the form with
DoCmd.OpenForm "SwithchBoard", , , , , acDialog
but having the SwithchBoard in dialog mode does not seem to be an option because:
- as far as I can see I can't have a menubar on it
- all the forms opened from the Swhitchboard are opened behind the Swithchboar and can't be clicked on
- any code on the form that opend the Swithchboard is not executed after the line that opened the form in dialog mode
 
Last edited:
That's one reason I've never liked or used the switchboard. It's too limiting and I prefer to create things that I can control to my liking, even if it is more work initially. The switchboard is a quick way to work, but with all things, there are trade-offs.
 
Uhm, sorry its just a form that I called Swithchboard because it is always open and displays the current status of the application, but it is not created with a wizard if that is what you meant.

I am completely stuck with this: open a form so that it occupies the whole screen, doesn't have min, max and restore buttons, but has a menubar and doesn't stay on top of everything. I thought that basically all forms used as a Swithchboard are like this.
 
Most folks close their forms as the user navigates through their db.

What are you trying to prevent the user from doing?
 
Its not for preventing.
This form acts like a desktop. Frome here the user can open different other forms. When he finished working with these forms they close them and return to the desktop.
The form is my central display containing a Treeview where the user can create a selection by clicking on different things or initate different actions (which is open new forms that could deliver a functionality) by right clicking on things, or drag and drop things. There is also a menubar for generic functionalities.
 
Attached is the sort of look I would like to give to the application - the application window is not separable from the form window (the form is maximized but there is no restore button)
 

Attachments

  • MaxFormExample.jpg
    MaxFormExample.jpg
    68.2 KB · Views: 254

Users who are viewing this thread

Back
Top Bottom