>
> On mercredi 16 juillet 2008, serge bouc wrote:
>
> > >> > On Wed, Jul 9, 2008 at 3:57 PM, serge bouc <[EMAIL PROTECTED]>
> > >> > wrote:
>
>>> > >>> > > Hello Gambas,
>>> > >>> > >
>>> > >>> > > Pardon me for asking again this question :
>>> > >>> > >
On mercredi 16 juillet 2008, serge bouc wrote:
> >> > On Wed, Jul 9, 2008 at 3:57 PM, serge bouc <[EMAIL PROTECTED]> wrote:
> >>> > > Hello Gambas,
> >>> > >
> >>> > > Pardon me for asking again this question :
> >>> > >
> >>> > >b is a button, with text.
> >>> > > "b.background=my_color" wo
>
>> >
>> > On Wed, Jul 9, 2008 at 3:57 PM, serge bouc <[EMAIL PROTECTED]> wrote:
>>
>>> > > Hello Gambas,
>>> > >
>>> > > Pardon me for asking again this question :
>>> > >
>>> > >b is a button, with text.
>>> > > "b.background=my_color" works fine : b is now surrounded with
>>> > > "m
> [EMAIL PROTECTED] a écrit :
> Message: 3 Date: Wed, 9 Jul 2008 16:05:37 -0500 From: "M0E Lnx"
> <[EMAIL PROTECTED]> Subject: Re: [Gambas-user] Background/Foreground
> To: "mailing list for gambas users"
> Message-ID:
> <[EMAIL PROTECTED]&g
On mercredi 09 juillet 2008, M0E Lnx wrote:
> instead of using the background and foreground, try using the
> Backcolor and Forecolor properties
>
> b.backcolor = color.selected
> b.forecolor = color.black
>
> On Wed, Jul 9, 2008 at 3:57 PM, serge bouc <[EMAIL PROTECTED]> wrote:
> > Hello Gambas,
>
instead of using the background and foreground, try using the
Backcolor and Forecolor properties
b.backcolor = color.selected
b.forecolor = color.black
On Wed, Jul 9, 2008 at 3:57 PM, serge bouc <[EMAIL PROTECTED]> wrote:
> Hello Gambas,
>
> Pardon me for asking again this question :
>
>b is
Hello Gambas,
Pardon me for asking again this question :
b is a button, with text.
"b.background=my_color" works fine : b is now surrounded with "my_color"
"b.foreground=my_color" turns text on b to black, whatever my-color.
What am I missing ?
Thanks for any help.
Serge.
gambas2/