[Gambas-devel] New controls

David Villalobos Cambronero david_villalobos_c at ...7...
Thu Aug 21 14:39:22 CEST 2008


Hi, Did you have time to take a look at this? I think we can change the icon, if you or someone have a good one.

 Regards.


David



----- Original Message ----
From: David Villalobos Cambronero <david_villalobos_c at ...7...>
To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Sent: Saturday, August 16, 2008 9:23:32 AM
Subject: Re: [Gambas-devel] New controls

Hi Benoit, here is the project, I hope it is ready, please take a look and tell me.

Best regards



David



----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Sent: Wednesday, August 13, 2008 6:18:07 AM
Subject: Re: [Gambas-devel] New controls

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel







More information about the Devel mailing list