Search found 233 matches

by cogier
Friday 22nd February 2019 8:09am
Forum: General
Topic: Buttons access like an array
Replies: 14
Views: 121

Re: Buttons access like an array

What version of Gambas are you using? If it is earlier than 3.11.0 then you need to update. The 'Spring' feature was add in this version. Copy the code below sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update && sudo apt-get -y install gambas3 Open a Terminal on you computer. ...
by cogier
Thursday 21st February 2019 10:31pm
Forum: General
Topic: Tiles-1-0-0 - Tiles placement game
Replies: 1
Views: 14

Re: Tiles-1-0-0 - Tiles placement game

by cogier
Thursday 21st February 2019 6:21pm
Forum: General
Topic: Buttons access like an array
Replies: 14
Views: 121

Re: Buttons access like an array

I am not sure I fully understand the program but I have had a nice afternoon messing with the code. I apologise for my code layout, it's just that's how I like it. ;) I have got the code down from 1170 lines to 275. I have added a logo. You can now resize the form and the font size will automaticall...
by cogier
Wednesday 20th February 2019 3:47pm
Forum: General
Topic: Buttons access like an array
Replies: 14
Views: 121

Re: Buttons access like an array

To upload a file to this forum: - In your File Manager locate your program folder, right click on it and select 'compress'. Save the file using 'tar.gz'. Click on the 'Attachments' tab and click on 'Add files' button. Locate your compressed file and upload. Select 'display in line' and that's it. I'...
by cogier
Tuesday 19th February 2019 3:33pm
Forum: General
Topic: Buttons access like an array
Replies: 14
Views: 121

Re: Buttons access like an array

Hi waspentalive,

It might be easier to help you if you posted the code here so that we can see what you are trying to achieve.
Public button15_click()
dobuttonclick(Button15, button10, button20)
end
Yes this can be done but the other item with 'center.text' etc I'm not sure. Please post the code.
by cogier
Monday 18th February 2019 6:45pm
Forum: General
Topic: Buttons access like an array
Replies: 14
Views: 121

Re: Buttons access like an array

Welcome to the forum: - Anyone--- I went to start my project and now I have a question already - my OS is KDE (devuan to be exact) should I choose - a gtk flavor or QT? I am not sure which KDE runs on, QT perhaps. If you are using KDE then Gambas will default to using QT4 or 5 as KDE is built using ...
by cogier
Saturday 16th February 2019 3:23pm
Forum: Component
Topic: SFTP in Network coding with gb.net.curl not possible
Replies: 2
Views: 38

Re: SFTP in Network coding with gb.net.curl not possible

Hi kse and welcome to the forum. Matt and I have taken the code from stevedee's example and altered it a little. It worked for us! Make sure you change the values of sHost, sRemoteFile, sOutputFile and sPassword Private $SFTPClient As Process Public Sub Form_Open() Dim sCommand As String[] Dim sCopy...
by cogier
Saturday 02nd February 2019 2:48pm
Forum: General
Topic: [Solved] ValueBox with type DateTime
Replies: 2
Views: 96

Re: ValueBox with type DateTime

I could not find a way to increase the size of the text so I wrote a new calendar dialogue.

Have a look at the attached.
CalendarDialogue.tar.gz
(25.99 KiB) Downloaded 18 times
by cogier
Wednesday 30th January 2019 12:44pm
Forum: General
Topic: Can I set the items column width for a listbox list
Replies: 2
Views: 96

Re: Can I set the items column width for a listbox list

The problem with your first code was the '\\n', which causes all sorts of interesting issues. If you had used '\n' it would have worked OK.
by cogier
Monday 28th January 2019 7:04pm
Forum: General
Topic: SQLite help
Replies: 9
Views: 270

Re: SQLite help

I have looked at Databases before and I found them to be a bit complicated. I use CSV files to store data I want to use. Have a look at the attached program and see if this is simpler for you to use.
NoDB_DB.tar.gz
(16.49 KiB) Downloaded 22 times