You have various answers here already on your duplicate post from the other day.
https://forum.gambas.one/viewtopic.php?t=1877
Search found 1812 matches
- Monday 30th September 2024 6:34pm
- Forum: Beginners
- Topic: list printers in combobox
- Replies: 2
- Views: 196
- Monday 30th September 2024 4:49pm
- Forum: Beginners
- Topic: Load available printers to a combobox
- Replies: 5
- Views: 412
Re: Load available printers to a combobox
If you are planning on using gb.form.print you can maybe use the Printer.List property?
ComboBox1.List = Printer.List
- Sunday 29th September 2024 1:27pm
- Forum: General
- Topic: Differentiate left and right control keys
- Replies: 7
- Views: 494
Re: Differentiate left and right control keys
Seems you can't do it because it's not a qt key code either the Qt Key class only uses a Key_Control https://doc.qt.io/qt-6/qt.html#Key-enum there are ways to do it with the QT api but gambas Key.class does not do anything unusual, it only supports what the toolkit Key class supports in respect to C...
- Sunday 29th September 2024 11:56am
- Forum: General
- Topic: Differentiate left and right control keys
- Replies: 7
- Views: 494
Re: Differentiate left and right control keys
I'm pretty sure they don't m8. (not sure what language that is but i don't think it's gambas)
I only see Key.ControlKey constant
I know you can send with x11 Desktop.SendKey("Control_L")
but there's no way to receive
Key.Code for both control keys are the same and its Key.ControlKey
I only see Key.ControlKey constant
I know you can send with x11 Desktop.SendKey("Control_L")
but there's no way to receive
Key.Code for both control keys are the same and its Key.ControlKey
- Sunday 29th September 2024 9:25am
- Forum: General
- Topic: Differentiate left and right control keys
- Replies: 7
- Views: 494
Re: Differentiate left and right control keys
It's a shame and certainly limits game control as i discovered on my TurboSnake game.
2 users sharing a keyboard cannot use Shift or Ctrl keys well they can but it's dodgy
2 users sharing a keyboard cannot use Shift or Ctrl keys well they can but it's dodgy
- Sunday 29th September 2024 9:15am
- Forum: General
- Topic: Differentiate left and right control keys
- Replies: 7
- Views: 494
Re: Differentiate left and right control keys
I don't think it's possible.
The gambas Key.class gives same code for both control keys.
same for Shift
Only Alt keys differentiate as one if Key.AltKey and other is Key.AltGrKey
The gambas Key.class gives same code for both control keys.
same for Shift
Only Alt keys differentiate as one if Key.AltKey and other is Key.AltGrKey
- Saturday 28th September 2024 10:21pm
- Forum: Beginners
- Topic: Creating and reading from arrays
- Replies: 3
- Views: 297
Re: Creating and reading from arrays
It'll take a little while to adjust from vb to gambas, they are syntactically similar and different in various ways but you'll soon get the hang of it. Maybe something like this is what you need Any local variables declared with Dim are only visible to the local method. global variables are declared...
- Saturday 28th September 2024 11:03am
- Forum: Beginners
- Topic: Astra linux
- Replies: 13
- Views: 24090
Re: Astra linux
Astra1.8 is missing the following packages so they need to be removed from the package list when installing.. libalure-dev : breaks gb.openal (OpenAL 3D Audio library) libdumb1-dev : does not seem to break anything libsdl-sound1.2-dev : does not seem to break anything all qt6 dependencies: no qt6 on...
- Friday 27th September 2024 1:07am
- Forum: Project showcase
- Topic: VirtualBox image mounter
- Replies: 13
- Views: 4681
Re: VirtualBox image mounter
a few updates / fixes now there's mount all button the system release info command needed to be improved to handle soft links Copy and paste this into the command to change it... #!/usr/bin/env bash ROOT='$(ROOT)/etc' cd "$ROOT" echo "checking '$ROOT'" CheckInfo() { PTH="$1&...
- Thursday 26th September 2024 6:24pm
- Forum: General
- Topic: running a wine app from gambas
- Replies: 2
- Views: 293
Re: running a wine app from gambas
Hang on... is this a copy of your code? wineexePath = "FileChooser1.SelectedPath" try without quotes wineexePath = FileChooser1.SelectedPath by quoting that you are trying to load a program called "FileChooser1.SelectedPath" and not the actual SelectedPath property of the FileCho...