On mardi 01 juillet 2008, serge bouc wrote:
> Hello Gambas,
>
>    Some years ago, I wrote a program using Gambas 1,
> to produce some pictures in hyperbolic geometry. I recently
> tried to restart this program. In between, I had updated my
> system to Mandriva 2008, and even if Gambas 1 is still included
> in the distribution, it just does'nt work (no fonts available...)

No fonts???

>
>    So I installed Gambas2, and after "some" work, I more or less
> succeeded to have my program running.
>
>    For this I had to convert a lot of things (e.g. the "Array" function
> is no longer a function..., and I had to guess almost by my own by what
> it has been replaced. This is OK anyway, much nicer now). I still have
> a couple of problems remaining, that I could probably solve easily if I
> could
> find Gambas documentation.
>
>   I mean *not* http://gambasdoc.org/help/,
> which may certainly help experts... in some cases. :-(
>
>    One of the concrete problems I have is :
>
> - How to change the color of the text in a button ? The assignment
> button.foreground=my_nice_color_kivabien
> used to work in Gambas 1, but its only effect now seems to turn
> the color to black, independently of the value in input.
> I am sure I'm missing something here, but what ?

It depends on the KDE widget theme you are using. I use Plastik, and setting 
the foreground or the background color of a button works as expected. Which 
theme do you use?

-- 
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-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to