? Access Theme

T

Tru

I forgot how to do this where do I go to change my command buttons so that
when I move my mouse cursor over them their backcolor will slightly change
automatically normally a light orange color. Also I cros posted this
question in Access.GettingStarted

Thanx!
 
K

Klatuu

You can't change the backcolor of a command button. It has no backcolor
property. I know there are some tricks you can play with it, but I have not
used them. You can, however change the font properties. Here is some code
that shows how that is done. The effect of the code below is that when you
move the mouse over a control, the font becomes bold. If you move off the
control, it goes back to normal:
Private Sub cmdOK_Enter()
cmdOK.FontBold = True
End Sub


Private Sub cmdOK_Exit(Cancel As Integer)
cmdOK.FontBold = False
End Sub

Private Sub cmdOK_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
cmdOK.FontBold = True
End Sub

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single,
Y As Single)
cmdOK.FontBold = False
cmdExit.FontBold = False
End Sub
 
6

'69 Camaro

Hi, Tru.
I forgot how to do this where do I go to change my command buttons so that
when I move my mouse cursor over them their backcolor will slightly change
automatically normally a light orange color.

As long as you have Windows Themes active, you can apply them to your
version of Access. Select the Tools -> Options... menu to open the Options
dialog window. Select the Forms/Reports tab and ensure that the "Use Windows
Themed Controls on Forms" check box is checked. Select the "OK" button to
close the window. You may need to close, then reopen currently open forms
and reports to see this in full effect after making the change.
Also I cros posted this
question in Access.GettingStarted

It doesn't appear to have shown up there.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.
 
T

Tru

Thanx Fellas! I appreciate the help
--
Thanx!


'69 Camaro said:
Hi, Tru.


As long as you have Windows Themes active, you can apply them to your
version of Access. Select the Tools -> Options... menu to open the Options
dialog window. Select the Forms/Reports tab and ensure that the "Use Windows
Themed Controls on Forms" check box is checked. Select the "OK" button to
close the window. You may need to close, then reopen currently open forms
and reports to see this in full effect after making the change.


It doesn't appear to have shown up there.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.
 
A

Albert D.Kallal

Tru said:
Thanx Fellas! I appreciate the help
--
will slightly change
automatically normally a light orange color

And, just as a side note, it is ONLY access 2003 that highlights the buttons
with a orange squire without additional code.
(the other posters suggestion of code is not what you need here).

To re-enable that feature, you have to do two things:

your xp box must be at least sp1
You are using windows XP themes on your compter, not classic view.

And, then in ms-access, you go options->forms/reports

check the one box [x] Use Windows Themed Controls on forms

This feature became available in access 2003

Here is some screen shots with the the above option off/ then then on

http://www.members.shaw.ca/AlbertKallal/Atheme/index.htm

You will note the blue square on some of the buttions (not sure where orange
came from, but mine are blue!!).......
 
Top