Search found 71 matches

by Quincunxian
Tuesday 24th March 2020 10:42pm
Forum: General
Topic: [Solved] Open with default text editor
Replies: 4
Views: 164

Re: [Solved] Open with default text editor

if you want more than just a simple text document, you can also use Libre Office to open documents if you have it installed Either method works: EXEC["libreoffice","--writer example.txt"] Command line applications for the various formats of Libre Office. LibreOffice is shortened to lo with the addit...
by Quincunxian
Wednesday 18th March 2020 11:23pm
Forum: General
Topic: error when launching gambas in manjaro
Replies: 4
Views: 317

Re: error when launching gambas in manjaro

Hi farhad, Open a command box and type in 'whereis qt5' you should get something similar to this if it is installed... qt5: /usr/lib/x86_64-linux-gnu/qt5 /usr/lib/qt5 /usr/share/qt5 Above is what I get from my Linux Mint distro. If it is not installed, you can follow the instructions here to install...
by Quincunxian
Wednesday 18th March 2020 9:40am
Forum: General
Topic: Get Last Tag
Replies: 4
Views: 176

Re: Get Last Tag

Hi cage,
Add each of the Pictures to a Group
(give all the picture blocks the same group name... 'Blah')

Then add the following code:
Public Sub Blah_MouseDown()
   Message (Last.Name)
End
I got a quick test program to work doing this.
by Quincunxian
Wednesday 15th January 2020 11:40pm
Forum: General
Topic: Addressing several objects on a form in 1 line of code
Replies: 8
Views: 841

Re: Addressing several objects on a form in 1 line of code

I think the reason that this is not working is simply that it is not implemented in QT Gambas sometimes has a property (Foreground) listed in the panel for a control (Separator) that has no effect. I've come up against this a few times. If there is no 'hook' in the underlying QT object for the prope...
by Quincunxian
Tuesday 29th October 2019 12:05am
Forum: General
Topic: Setting the cursor postion in TextArea
Replies: 3
Views: 459

Re: Setting the cursor postion in TextArea

Hi Cage, I had a play around with this as I was curious to see what it could do and found that TextArea.Pos = 0 may be a better solution. I tried this; sort of expecting that the cursor would go to Pos 0 on the 2nd line : TextArea1.Text = "alkdfashdfasufdyasiudfhaskdjfhaskjdlfha" & Gb.CrLf & "ALKJDH...
by Quincunxian
Wednesday 16th October 2019 10:54pm
Forum: General
Topic: Viewing document files
Replies: 3
Views: 555

Re: Viewing document files

Hi Bill, Do you need to open the document "in program" or just open the document externally for review ? If just for a review, you can use the Linux application xdg-open {document path} xdg-open will open most document types within their native applications and is installed on most common Linux dist...
by Quincunxian
Wednesday 09th October 2019 9:48pm
Forum: General
Topic: Raspberry Pi, Raspbian and Gambas
Replies: 3
Views: 573

Re: Raspberry Pi, Raspbian and Gambas

gB & Cosier, Was just reading an article about the Pi4 and this link about 'over clocking' it. There was a piece in the article that "may be" relevant to the overheating problems. Updating the Raspberry Pi 4's Firmware Once your system is up to date, there's one more command to run, which will updat...
by Quincunxian
Saturday 21st September 2019 11:29pm
Forum: General
Topic: Pass an array from one Gambas program to another?
Replies: 19
Views: 2471

Re: Pass an array from one Gambas program to another?

Hi Godzilla, You will also need to have a look at the Linux command taskset . taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPU...
by Quincunxian
Wednesday 11th September 2019 11:32pm
Forum: General
Topic: Strange Stuff with the Gambas editor
Replies: 8
Views: 1360

Re: Strange Stuff with the Gambas editor

Hi cage, I've never had much luck with the GTK component either I found another strange behaviour yesterday when using the colour button control. New projects just used the Gb.gui (QT/GTK Switcher ) which is the standard component for such I think. Placed a colour button on the form I was working on...
by Quincunxian
Friday 06th September 2019 11:31pm
Forum: Project showcase
Topic: Multimedia File Conversion
Replies: 6
Views: 1056

Re: Multimedia File Conversion

Hi Cogier, I did have a look this morning and as I thought, you used the 'H' controls and I don't use those at all. I like to see the form as the user will see it and the 'H' controls make that difficult if not impossible. Not saying that they are a bad thing but it's just not my programming style. ...