Search found 174 matches

by cogier
Tuesday 07th August 2018 12:33pm
Forum: General
Topic: Can't create RPM
Replies: 2
Views: 44

Re: Can't create RPM

Looking at the error it has something to do with a 'picture'. It could be a permission problem. Is the 'picture' located in a strange place? Are you creating this in Fedora/Red Hat/CentOS distro?

Can you let us have a look at the code.
by cogier
Sunday 29th July 2018 11:38am
Forum: Lounge
Topic: Gambas Farm on Gambas.one
Replies: 0
Views: 42

Re: Gambas Farm on Gambas.one

Matt and I have just updated the code so that you can now download the Gambas Farm programs from this site.

Check it out here http://gambas.one/gambasfarm
by cogier
Monday 16th July 2018 8:46am
Forum: General
Topic: SMTP not working
Replies: 2
Views: 70

Re: SMTP not working

Try changing m.From and m.User to your email address. e.g.
m.From = "me@yahoo.com"
m.User = "me@yahoo.com"
by cogier
Tuesday 10th July 2018 3:56pm
Forum: General
Topic: button back color property
Replies: 9
Views: 249

Re: button back color property

You have a point jornmo but after some messing about I thought that a Label has everything you need so here is another solution, this time not requiring 'gb.gtk3'

Image
Colour_Button.tar.gz
(12.04 KiB) Downloaded 16 times
by cogier
Monday 09th July 2018 7:15am
Forum: General
Topic: button back color property
Replies: 9
Views: 249

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 22 times
by cogier
Sunday 01st July 2018 4:02pm
Forum: General
Topic: tableview problem
Replies: 4
Views: 132

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: 307

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: 67

.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: 26
Views: 2477

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: 307

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