By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,183 Members | 1,212 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,183 IT Pros & Developers. It's quick & easy.

Transparent Buttons

P: n/a
DS
Anyone know of any downsides of using Transparent Buttons with Labels
behind them?
Thanks
DS
Nov 13 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
MA

"DS" <bo******@optonline.net> ha scritto nel messaggio
news:Ec*********************@news4.srv.hcvlny.cv.n et...
Anyone know of any downsides of using Transparent Buttons with Labels
behind them?
Thanks
DS


What do you want to obtain?
Don't tell how but what you want
Massimiliano
Nov 13 '05 #2

P: n/a
DS
MA wrote:
"DS" <bo******@optonline.net> ha scritto nel messaggio
news:Ec*********************@news4.srv.hcvlny.cv.n et...
Anyone know of any downsides of using Transparent Buttons with Labels
behind them?
Thanks
DS

What do you want to obtain?
Don't tell how but what you want
Massimiliano

I don't like the grey buttons so I'm making the labels underneath to
match the program and being that sometimes the ON Click property doesn't
always work, I put transparent buttons over the labels.
DS
Nov 13 '05 #3

P: n/a
An alternative approach is here:
http://www.lebans.com/cmdbutton.htm
CommandButton.zip is a database containing functions to allow a user
defined BackColor and Rotated Text for Command Buttons.

NEW - Jan. 26/2000 This version includes 2 functions. One for Form
Design view and one for Form View at Runtime.

1) Use API Color Dialog to select BackColor.

2) User Selectable degrees of rotation for Text in controls Caption.

3) Use in Form Design or Form View at Runtime.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"DS" <bo******@optonline.net> wrote in message
news:XX*********************@news4.srv.hcvlny.cv.n et...
MA wrote:
"DS" <bo******@optonline.net> ha scritto nel messaggio
news:Ec*********************@news4.srv.hcvlny.cv.n et...
Anyone know of any downsides of using Transparent Buttons with Labelsbehind them?
Thanks
DS

What do you want to obtain?
Don't tell how but what you want
Massimiliano

I don't like the grey buttons so I'm making the labels underneath to
match the program and being that sometimes the ON Click property

doesn't always work, I put transparent buttons over the labels.
DS


Nov 13 '05 #4

P: n/a
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 HyperLinkSubAddress 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.
Nov 13 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.