Command Button Control.
You can use the Transparent property to specify whether a command button is visible or transparent.
Tip Use the BackStyle property to make other controls visible or transparent.
The Transparent property uses the following settings.
Setting |
Description |
Visual Basic |
Yes |
The button is transparent. |
True (-1) |
No |
(Default) The button is visible. |
False (0) |
You can set this property in the command button’s property sheet, a macro, or Visual Basic.
You can use this property to place a transparent command button over another control. For example, you could place several transparent buttons over a picture displayed in an image frame and run various macros or Visual Basic event procedures depending which part of the picture the user clicks.
Note To hide and disable a button, use the Visible property. To disable a button without hiding it, use the Enabled property. To hide a button only when a form or report is printed, use the DisplayWhen property.
BackColor Property; BackStyle Property; BackStyle Property; DisplayWhen Property; Enabled, Locked Properties; Visible Property (Microsoft Access).