Here is what I want to do... I want to have minimize and maximize buttons on my form, but I do not want a control box. Also, I do not mean Minimize/Maximize like the controls in the Control Box. I mean in minimized form - the form is very small (limiting view to 1 textbox and the min/max buttons; and maximize would open the form to display many other controls.
So I put two Labels on my form, 1 with a Down Arrow Image (Maximize) [MAXIMIZEcmd] and 1 with an Up Arrow Image (Minimize) [MINIMIZEcmd]. When the user clicks one label, I change the form size using docmd.movesize, and then I want to hide the label just used and show the other label... but obviously am getting the 2165 error.
How do I get around this? Oh I had also just thought of changing the image when clicked... but the property just says "image..." so I don't know how to identify the UpArrow and/or DownArrow image.
So I put two Labels on my form, 1 with a Down Arrow Image (Maximize) [MAXIMIZEcmd] and 1 with an Up Arrow Image (Minimize) [MINIMIZEcmd]. When the user clicks one label, I change the form size using docmd.movesize, and then I want to hide the label just used and show the other label... but obviously am getting the 2165 error.
How do I get around this? Oh I had also just thought of changing the image when clicked... but the property just says "image..." so I don't know how to identify the UpArrow and/or DownArrow image.