Share via

Min/Max Control Box

Anonymous
2023-01-04T20:32:14+00:00

I have a form w/the control box property set to no, and the min/max buttons set to none. The on open event maximizes the form, and this brings back the control box and min/max buttons. How do I hide them again after the On Open Maximize command?

I tried the obvious screen.activeform.ControlBox.visible = False, but it no likey that :-) (invalid qualifier on ControlBox)

Thanks in advance.

Microsoft 365 and Office | Access | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-01-04T23:50:03+00:00

    Making it modal has resolved it.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. George Hepworth 22,855 Reputation points Volunteer Moderator
    2023-01-05T00:43:53+00:00

    I'm glad to hear you resolved your problem. I can't replicate that with a modal form, though.

    Anything else going on that I should include?

    Was this answer helpful?

    0 comments No comments
  3. George Hepworth 22,855 Reputation points Volunteer Moderator
    2023-01-04T21:52:22+00:00

    It seems that the process of maximizing a form entails enabling the ability to restore it. Makes sense from a user interface POV.

    Perhaps you don't really need to maximize the form after all.

    Or perhaps you don't need to worry about the behavior unless your users will somehow make mistakes because of it.

    Or perhaps you could switch to tabbed forms with no Document Tabs. They open maximized and without the document tab, look a lot like a form opened as overlapping windows when maximized.

    Was this answer helpful?

    0 comments No comments