Documentation ?

View: New views
2 Messages — Rating Filter:   Alert me  

Documentation ?

by serge bouc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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...)

   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 ?

Thanks in advance for any help.

Best regards.
   Serge.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Documentation ?

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
https://lists.sourceforge.net/lists/listinfo/gambas-user
LightInTheBox - Buy quality products at wholesale price