Re: Button Colours

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Larry Linson (bouncer_at_localhost.not)
Date: 07/19/04


Date: Mon, 19 Jul 2004 17:48:53 -0500


"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



Relevant Pages

  • Re: making a form transparent
    ... and in it's create event set it's Brush.Style to bsClear. ... Put a label on the form and set it's transparent property to true. ...
    (alt.comp.lang.borland-delphi)
  • How to show transparaent label in window forms
    ... I try to add a label to a windows form, but as background is image, the ... but it seems no transparent property ... Prev by Date: ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Button Colours
    ... the label is used as a command button. ... command button graphics I mentioned in the previous post. ... >Set the Button's Transparent property to Yes. ... > Microsoft Access MVP ...
    (microsoft.public.access.reports)
  • Re: How to send Box control to the background?
    ... Actually scratch the buttons, it is the label that won't stay in front with ... the transparent property of the box. ... I can easily re make the label, but it would be nice to know how to do it ... > background, but if I make the box after the command buttons, it hides the ...
    (microsoft.public.access.formscoding)
  • Re: Get Format date from windows
    ... Dim dtmTestDate As Date ... Dim strDate As String ... Doug Steele, Microsoft Access MVP ... I create a label and when the user open the form, ...
    (microsoft.public.access.formscoding)