[AccessD] A2010 - colour of enabled/disabled button

Charlotte Foust charlotte.foust at gmail.com
Sun Feb 3 19:47:20 CST 2013


Access VBA.

Charlotte

On Sun, Feb 3, 2013 at 7:54 AM, Dan Waters <df.waters at comcast.net> wrote:

> Hi Charlotte,
>
> Is this something you would do in Access, or in a .Net app?
>
> Dan
>
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust
> Sent: Sunday, February 03, 2013 9:47 AM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] A2010 - colour of enabled/disabled button
>
> You could use classes to handle it.  Create a clsForm that you bind to each
> form and in the class, step through the controls on each form and if the
> TypeOf is Command Button, bind each of them to an instance of the
> clsCmdButton.  In the latter class, put the code you want to use for color
> changes called from the shadowed events of the control.
>
> Charlotte
>
> On Sun, Feb 3, 2013 at 7:28 AM, Gustav Brock <Gustav at cactus.dk> wrote:
>
> > Hi Rocky
> >
> > I don't think the client is ready to rewamp hundreds of buttons this way.
> > Any other option?
> >
> > /gustav
> >
> > >>> rockysmolin at bchacc.com 03-02-13 16:20 >>>
> > In the past the answer seems to be use text box overlays or use labels
> > formatted to you liking.  Not as many events but they've got click.
> >
> > R
> >
> >
> > -----Original Message-----
> > From: accessd-bounces at databaseadvisors.com
> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav
> > Brock
> > Sent: Sunday, February 03, 2013 7:01 AM
> > To: accessd at databaseadvisors.com
> > Subject: [AccessD] A2010 - colour of enabled/disabled button
> >
> > Hi all
> >
> > Is there a global setting for controlling the appearance of buttons on
> > forms to make a larger difference between the view of an enabled
> > button and a disabled button?
> >
> > The themes don't make much difference, I think, and the property sheet
> > of the button only deals with clicked or non-clicked or mouse-over.
> >
> > /gustav
> >
> >
> > --
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > http://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> >
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


More information about the AccessD mailing list