Search found 173 matches
- Tuesday 21st April 2020 4:52am
- Forum: Component
- Topic: Drop & Drag within a Treeview
- Replies: 6
- Views: 9542
Drop & Drag within a Treeview
I'm trying to determine how to find the key ( or any other identifying data) when you drag and drop inside the same Treeview. The problem is that the Drop event does not seem to be activating for the treeview ? I've test this with some listboxes and can successfully drop and drag between them - the ...
- Tuesday 21st April 2020 12:46am
- Forum: General
- Topic: Request for Web Forms project (Reasonably complex)
- Replies: 0
- Views: 5680
Request for Web Forms project (Reasonably complex)
Greetings, I'm looking for a sample of a gambas project that uses web forms. I'm testing a Project Review Utility that I am building and as i have not touched web forms yet so I hope that someone has something 'reasonably' complex that I can investigate so that I can cover all aspects of gambas form...
- Tuesday 24th March 2020 10:42pm
- Forum: General
- Topic: [Solved] Open with default text editor
- Replies: 4
- Views: 5850
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 ...
- Wednesday 18th March 2020 11:23pm
- Forum: General
- Topic: error when launching gambas in manjaro
- Replies: 4
- Views: 7578
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...
- Wednesday 18th March 2020 9:40am
- Forum: General
- Topic: Get Last Tag
- Replies: 4
- Views: 5129
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:
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.- Wednesday 15th January 2020 11:40pm
- Forum: General
- Topic: Addressing several objects on a form in 1 line of code
- Replies: 8
- Views: 9207
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...
- Tuesday 29th October 2019 12:05am
- Forum: General
- Topic: Setting the cursor postion in TextArea
- Replies: 3
- Views: 4386
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....
- Wednesday 16th October 2019 10:54pm
- Forum: General
- Topic: Viewing document files
- Replies: 3
- Views: 4916
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 ...
- Wednesday 9th October 2019 9:48pm
- Forum: General
- Topic: Raspberry Pi, Raspbian and Gambas
- Replies: 3
- Views: 5296
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, wh...
- Saturday 21st September 2019 11:29pm
- Forum: General
- Topic: Pass an array from one Gambas program to another?
- Replies: 19
- Views: 20446
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 ...