[Gambas-devel] New controls
Benoit Minisini
gambas at ...1...
Wed Aug 13 14:18:07 CEST 2008
On mardi 12 août 2008, David Villalobos Cambronero wrote:
> Hi Beniot,
>
> Here is the project with the changes, but I found a problem: If the user
> changes the Background color of the label at execution time, I'm not able
> to catch the new color since I don't know how to deal with the Background
> property of TextLabel, I mean, I don't know how store the new color every
> time the background color changes, any idea?
As you inherit TextLabel, just reimplement the Background property to track
the changes. Do not forget to use SUPER to call the parent implementation.
>
> I attached the project with an example.
>
> By the way, the icon control should be placed in:
> ../app/src/gambas3/img/control, right?
Now you can put it directly in your project, inside a "control" directory.
>
> Regards
>
> David
>
--
Benoit Minisini
More information about the Devel
mailing list