Minimize Action

Description

You can use the Minimize action to reduce the active window to an icon at the bottom of the Microsoft Access window.

Setting

The Minimize action doesn’t use any arguments.

Remarks

You can use this action to remove a window from the screen while leaving the object open. You can also use this action to open an object without displaying its window. To display the object, use the SelectObject action with either the Maximize or Restore action. The Restore action restores a minimized window to its previous size.

The Minimize action has the same effect as clicking the Minimize button in the window’s upper-right corner or clicking Minimize on the Control menu.

Note Tips

  • You may first need to use the SelectObject action if the window you want to minimize isn’t the active window.
  • To minimize the Database window, use the SelectObject action with the In Database Window argument set to Yes and then use the Minimize action.
  • You can use the Hide command on the Window menu to hide the active window. Instead of being reduced to an icon, the window becomes invisible. The Unhide command on the Window menu will make the window reappear. You can use the DoMenuItem action to carry out either of these commands from a macro.
  • You can also use the SetValue action to set a form’s Visible property to hide or show the form’s window.

To run the Minimize action in Visual Basic, use the Minimize method of the DoCmd object.

See Also

DoMenuItem Action, Maximize Action, Minimize Method, OpenForm Action, Restore Action, SelectObject Action.