Search found 190 matches

by cogier
Monday 09th July 2018 7:15am
Forum: General
Topic: button back color property
Replies: 9
Views: 555

Re: button back color property

Hi sadams and welcome to the forum.

This problem has popped up before. The first thing to try is to change the component gb.gui to gb.gtk3 and see if that does the trick for you.

Here is a little program that might help.

Image
Buttons.tar.gz
(33.92 KiB) Downloaded 43 times
by cogier
Sunday 01st July 2018 4:02pm
Forum: General
Topic: tableview problem
Replies: 4
Views: 297

Re: tableview problem

I have no idea why the routine is called twice. It may be a bug? However I have created a possible work around. On your existing Form add a TextBox called TextBox1 and set the Visible property to False . Then run the following code. No error message will be displayed as no numbers will get on the Ta...
by cogier
Saturday 30th June 2018 12:38pm
Forum: General
Topic: Graph details
Replies: 9
Views: 606

Re: Graph details

is there any way to have vertical text? Have a look at the attached. http://www.cogier.com/gambas/ChartTest.png Public Sub DrawingArea1_Draw() Chart.Height = Me.Height - 5 Chart.Width = Me.Width - 5 Chart.Draw Paint.Translate(128, 128) Paint.Rotate(Rad(Slider1.Value)) Paint.Translate(-128, -128) Pa...
by cogier
Friday 29th June 2018 6:18pm
Forum: General
Topic: .hidden
Replies: 1
Views: 138

.hidden

Does anybody know what the .hidden folder in Gambas used for?
by cogier
Tuesday 26th June 2018 3:02pm
Forum: General
Topic: Did you know?
Replies: 29
Views: 3086

Re: Did you know?

Did you know you can easily move a line, or multiple lines, of code up or down in the editor. Just place the cursor on the line, or highlight the lines, you want to move and press [Alt]+[Up Arrow] (or [Down Arrow]). 8-)
by cogier
Tuesday 26th June 2018 2:16pm
Forum: General
Topic: Graph details
Replies: 9
Views: 606

Re: Graph details

though why did your sample work correctly without? The reason for this is that I used 'Chart' on its own and did not create a new instance. Your code had: - hChart1 As New Chart My original code didn't. Have a look at ChartExample on the Farm. I did not create a new instance in that code either. Yo...
by cogier
Saturday 23rd June 2018 1:40pm
Forum: General
Topic: Graph details
Replies: 9
Views: 606

Re: Graph details

Two of us have worked on the colour problem and discovered how to get the correct colours to display. In the 'DrawingArea_Draw' routine you need to add a line, see below: - Public Sub DrawingArea1_Draw() Chart.Colors.Values = hChart1.Colors.values ''THIS SEEMS TO BE THE TRICK FOR KEEPNG THE COLOURS ...
by cogier
Thursday 21st June 2018 1:19pm
Forum: General
Topic: Graph details
Replies: 9
Views: 606

Re: Graph details

First you need to note that the Chart command has a comment of "This component is not stable yet". I agree that the 'Labels' command seems to do nothing, in fact the syntax 'help' says it is 'Read only'! I could not get your code to run as it was missing bits, but I took what I could and made effort...
by cogier
Tuesday 12th June 2018 3:51pm
Forum: General
Topic: Children problem
Replies: 4
Views: 318

Re: Children problem

I've put in a bug report so we will see what happens...
by cogier
Monday 11th June 2018 7:53pm
Forum: General
Topic: Children problem
Replies: 4
Views: 318

Re: Children problem

Hi voutt, yes that is the idea. I have discovered that if I use gtk or gtk3 this does not work but try qt4 and it works!