Adding Min and Max buttons on a form

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
 
R

Ryan

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
 
B

Bob Larson

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
 
T

Terra

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
 
T

Terra

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
 

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