Adding Min and Max buttons on a form

  • Thread starter Thread starter Terra
  • Start date Start date
T

Terra

I want to design my own Min and Max buttons for my access form. Not the
little icons that you see at the top of the form. Would anyone know how I
would go about doing this?

Thanks in advance for any suggestions!
Terra
 
Add a button on the form, or any control for that matter. Then go to the
properties of that control, go to events, and go to the On Click event. Add
this code.

DoCmd.Minimize

The 2 other commands are Maximize and Restore for your other buttons.

DoCmd.Maximize
DoCmd.Restore
 
And to go with what Ryan said, set the form's BORDER property to NONE and
put your own bar at the top of the form with your own buttons.

--

Thanks,

Bob Larson
Access MVP
Administrator, Access World Forums
Utter Access VIP
 
Thank you Ryan for your help, I appreciate it!

Ryan said:
Add a button on the form, or any control for that matter. Then go to the
properties of that control, go to events, and go to the On Click event. Add
this code.

DoCmd.Minimize

The 2 other commands are Maximize and Restore for your other buttons.

DoCmd.Maximize
DoCmd.Restore
 
And thank you Bob for your suggestion!

Bob Larson said:
And to go with what Ryan said, set the form's BORDER property to NONE and
put your own bar at the top of the form with your own buttons.

--

Thanks,

Bob Larson
Access MVP
Administrator, Access World Forums
Utter Access VIP
 
Back
Top