Minggu, 22 April 2012

RE: [MS_AccessPros] Re: Change color of a list box's item

 

Good choices, A.D. I have used 8388608 in several projects. If I don't use that
I use black (0)

Regards,

Bill

From: MS_Access_Professionals@yahoogroups.com
[mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of A.D. Tejpal
Sent: Friday, April 20, 2012 9:07 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: Re: [MS_AccessPros] Re: Change color of a list box's item

Bill, Clive,

Following color combinations for list boxes are expected to provide improved
legibility. BC stands for back color while FC means fore color.

(a) BC = 10079487, FC = 0
(b) BC = 10079487, FC = 8388608
(c) BC = 13434828, FC = 0

Best wishes,
A.D. Tejpal
------------

----- Original Message -----
From: Bill Mosca
To: MS_Access_Professionals@yahoogroups.com
<mailto:MS_Access_Professionals%40yahoogroups.com>
Sent: Saturday, April 21, 2012 02:59
Subject: [MS_AccessPros] Re: Change color of a list box's item

Oh, Clive. Don't encourage that stuff. Next it will be flashing text. [grin]

Bill

--- In MS_Access_Professionals@yahoogroups.com
<mailto:MS_Access_Professionals%40yahoogroups.com> , "Clive" <zctek@...> wrote:
>
> Saigon,
>
> If the ListBox Forecolor is White, when it is selected
> the ForeColor will be a contrasting color, Black.
>
> If you change the ListBox ForeColor to Red the ForeColor,
> when selected, will be a contrasting color, Cyan.
>
> And similarly for other colors except for shades of Gray,
> so you have some limited control over the color
> combinations.
>
> Regards, Clive.
>
> --- In MS_Access_Professionals@yahoogroups.com
<mailto:MS_Access_Professionals%40yahoogroups.com> , "Bill Mosca" <wrmosca@>
wrote:
> >
> > cc,
> >
> > As far as I know, those properties are not exposed.
> >
> > Bill
> >
> > --- In MS_Access_Professionals@yahoogroups.com
<mailto:MS_Access_Professionals%40yahoogroups.com> , "cc" <saigonf7q5@> wrote:
> > >
> > > Good morning everyone
> > >
> > > I am trying to do a little fancy work to my list box, so far haven't
figured out how to do that.
> > >
> > > When an item in a list box is clicked or selected, it's highlighted and
the default back color is in black, the fore color is white. Is it possible to
change the back or fore color of it when an item was selected?

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar