Jumat, 20 April 2012

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

 

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, "Bill Mosca" <wrmosca@...> wrote:
>
> cc,
>
> As far as I know, those properties are not exposed.
>
> Bill
>
> --- In MS_Access_Professionals@yahoogroups.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?
> >
>

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar