Running the following code produces dark grey text on a black background.
Public Sub Form_Open()
Balloon.Info("Hello World!", Button1)
End
Public Sub Form_Open()
Balloon.Info("Hello World!", Button1)
End
As far as I can find out they are suppose to be linked to the color of the system notification colors. I tested out that theory and found it not to be true. Also I have not found any setting in Gambas preferences that change the color that works either. You might want to ask the author of Gambas to see if there is a work around. Sorry I wasn't any help.Can anybody tell me how to change the background and foreground on Balloon?
...you are using GTK, aren't you ?
Thanks cage, I also looked for these settings but all I was able to do was read what they are and not set them.As far as I can find out they are suppose to be linked to the color of the system notification colors.
Thanks grayghost4 but that doesn't change the colour.My balloon text is white on black
but you can use this to make it more visible
Balloon.Font = Font["Arial,18,Bold,italic"]
Thank vott, you are correct the colours are fine with QT but why not with GTK?..you are using GTK, aren't you ?
Change graphic resource: use QT.
It is the normal coloring of Ubuntu tooltips by using GTK.
Balloon.Background = Color.Blue
Balloon.Foreground = Color.Yellow
and it works fine , by default it uses the Color.TooltipBackground and Color.TooltipForeground values as normal