Re: Button Colours
From: Bruce (anonymous_at_discussions.microsoft.com)
Date: 07/20/04
- Next message: lin light: "hiding duplicate records on reports"
- Previous message: Alex Paradi: "Emailing reports"
- In reply to: Larry Linson: "Re: Button Colours"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 06:31:43 -0700
I ran across something recently for enhancing a label when
the label is used as a command button. I wish I could
remember where I saw this, because I would like to give
credit for the idea. Call the label cmdDoSomething, set
the special effect to raised, then set the Mouse Down
event to:
Me.cmdDoSomething.SpecialEffect = 2
In the Mouse Up event:
Me.cmdDoSomething.SpecialEffect = 1
Similarly, effects can be applied to pictures such as the
command button graphics I mentioned in the previous post.
I am starting to use these techniques as an alternative to
attaching pictures to standard command buttons, and have
found the approach to be very satisfactory when all I need
is a Click event.
In addition to Lebans site (from my previous post in this
thread), another approach can be found at:
http://www.peterssoftware.com/clrbtn.htm
>-----Original Message-----
>
>"Jagster" <anonymous@discussions.microsoft.com> wrote in
message
>news:2f68e01c46d76$9d7cb220$a401280a@phx.gbl...
>> Hi,
>>
>> I would like to be able to change the colour of the
>> buttons on access from that dull gey shade. I can only
>> seem to be able to change the font colour. Any ideas?
>
>Set the Button's Transparent property to Yes. Create a
Label the same size
>as the button with the text you want to show on the
Button, and the other
>properties to your choice, then locate the Label on top
of the Button,
>select it, and Format | Send to Back.
>
>Or, if you don't want anything more than a Click event,
just use a Label
>instead of a Command Button. Labels have Click events,
too.
>
> Larry Linson
> Microsoft Access MVP
>
>
>.
>
- Next message: lin light: "hiding duplicate records on reports"
- Previous message: Alex Paradi: "Emailing reports"
- In reply to: Larry Linson: "Re: Button Colours"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|