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

Charlie Reinl Karl.Reinl at ...9...
Mon Aug 10 23:02:33 CEST 2009


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.



-- 
Amicalment
Charlie





More information about the User mailing list