How to remove the restore window icon

B

Bill Murphy

In the format window of the main form in my application I have removed the
close button, maximize and minimize buttons. But I can't see how to remove
the restore window icon in the upper right corner of the form window. I
would like to prevent end users from clicking on this icon. Any thoughts
would be appreciated.

Bill
 
B

Bill Murphy

Ken,

I had already set this to no, but I'm still getting the restore icon in the
upper right corner of the form, where the close, maximize and minimize icons
would ordinarily appear. This is a tabbed form which is the main form in my
application. It has quite a few tabs and subforms, so I'm not sure whether
settings in any of these subforms could be causing this.

I would like the user to be able to close the application with the close
icon which is on the far right of the application header of the screen, but
not be able to reduce the size of the tabbed form since there is no way to
re-maximize the tabbed form, which would tend to confuse the user.

Bill
 
K

Ken Snell

Ah, sorry. Misunderstood your question. I believe the only way to not have
that restore icon show is to not open the form in maximized view, but in a
restored view that is essentially the size of the PC screen (of course, this
means that it may not cover the entire screen as resolutions change on PC
monitors). You'd need to open the form either in popup mode (size the form
in design view while restored to the desired size and position) or else run
a "restore" command on the form in the OnLoad event:
DoCmd.Restore

Note that this "restore" command will also cause the Deactivate and Activate
events to occur, so if you have code in them be aware of that.
 
A

Albert D. Kallal

Well, of course they can see it, but it is not functional if your tuned off
the min/max.

However, if you also remove the control box, then you don't see any thing on
the bar.

so, set the control box property to no, and that should work..
 
K

Ken Snell

Thanks, Jeff.... I need to spend some more time on The ACCESS Web and be
more knowledgeable about all its contents!
< g >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top