DS wrote:
Anyone know of any downsides of using Transparent Buttons with Labels
behind them?
Thanks
DS
One downside is that you cannot see them in design view, to combat this
I leave them opaque then set them to transparent in the Open event of
the form, use some identifier in the tag property to tell the Open event
which buttons to turn transparent.
Of course one cosmetic downside is that you don't see the buttons
depress when you click them, this is OK if you don't have any other
opaque buttons in your application as the effect will be consistent.
Another thing to consider is the fact that a label doesn't look like a
button and therefore won't look like something to click on to perform an
action. However, if you set the HyperLinkSubAdd ress property of the
button to " " or "#" then the mouse cursor turns to a pointing hand when
you hover over it. A side effect of this is that a tooltip appears, to
get around that sinply set the ControlTip property of the button so that
the tooltip displays something meaningful to the user. Another side
effect is that the web toolbar appears the first time you click a button
so this should be turned off as ASAP. In my apps I have a logon screen
for SQL Server, the OK button on that turns off the web toolbar.