[Gambas-user] can't change colour in a DataControl - oops & huh?

Jean-Yves F. Barbier 12ukwn at ...626...
Tue Aug 11 23:32:24 CEST 2009


Charlie Reinl a écrit :
> Am Dienstag, den 11.08.2009, 04:55 +0200 schrieb Jean-Yves F. Barbier:
>> Charlie Reinl a écrit :
>>> Am Montag, den 10.08.2009, 17:24 +0200 schrieb Jean-Yves F. Barbier:
>>>> Jean-Yves F. Barbier a écrit :
>>>>> Hi list,
>>>>>
>>>>> Under a Databrowser, I've got some DataControls I'd like to change background's color.
>>>>>
>>>>> However, it don't work at all: 
>>>>> dtc_label.Background = &H00FF00& 
>>>>> or  dtc_label.Background = &H0000FF00&
>>>>> don't change anything (and trying to escape the '&' gives me an error: "unexpected '\'")
>>>> Oops: I forgot to say I'm under Gambas V. 2.15.2
>>>> Huh?: It even don't work as native (if I change BG colour in properties)!?
>>>>
>>>> JY
>>> Salut Jean-Yves,
>>>
>>> Databrowser is a part of an component made in gambas, you find the
>>> source code
>>> </where/you/have/your/gambas2.15.2-Sources>/comp/src/gb.db.form 
>>> load the project into the IDE and retry.
>> Hi Charlie,
>>
>> I didn't build it: I was about to when it comes in Debian sid :)
>> and the gb.db.form is checked in my project's components.
>> sniff
>>  
>> JY
> 
> Salut Jean-Yves,
> 
> you can find them on shrine
> http://prdownloads.sourceforge.net/gambas/gambas2-2.15.2.tar.bz2?download
> Unpack and copy
> </where/you/have/your/gambas2.15.2-Sources>/gambas2-2.15.2/comp/src/gb.db.form  to your working directory, load the project into the IDE and retry.
> 
> If need more help let me know!

Salut Charlie,

I keep it for modification (I overcame this by changing the whole window backgroung:)
Thanks.

-- 
JY




More information about the User mailing list