Search found 1818 matches
- Thursday 10th October 2024 8:55pm
- Forum: Beginners
- Topic: get expressvpn status on load
- Replies: 2
- Views: 38
Re: get expressvpn status on load
She'll or Exec Dim sResult As String Shell "expressvpn status 2>&1" Wait To sResult Message(sResult) ' Note: the 2>&1 redirects any error output from stderr to stdout Dim sResult As String Exec ["expressvpn", "status"] Wait To sResult Message(sResult) Some softw...
- Thursday 10th October 2024 1:45pm
- Forum: General
- Topic: Select Case evaluation
- Replies: 5
- Views: 93
Re: Select Case evaluation
Hi, I've coded a function (see below) with a sequence of Cases in a Select Case > End Select statement. However, when my code runs, the first Case is matched and processes the contained statements - as expected - but then proceeds straight to End Select instead of dropping down to the next Case! Ho...
- Thursday 10th October 2024 1:21pm
- Forum: General
- Topic: Select Case evaluation
- Replies: 5
- Views: 93
Re: Select Case evaluation
You can't , that's not how Select works. It Selects the first True condition. Use If blocks , Select case is like using If and Else if When it finds a condition to be true it will only run that bit of code and ignore the rest. Like it Selected it. If Setup.Exist("metaTemplate") Then templa...
- Sunday 6th October 2024 2:08am
- Forum: Project showcase
- Topic: VirtualBox image mounter
- Replies: 14
- Views: 5642
Re: VirtualBox image mounter
More visual customization. Now you can edit the main gridview columns to give all the info you need right away. :) vbim.png On the commands page there is now a List Items tab for managing the gridview. You can add/remove items You can set the header text. You can use the StoredData info in the item....
- Saturday 5th October 2024 10:06pm
- Forum: The Gambas IDE
- Topic: Wow, my name is now on Project.module :o
- Replies: 1
- Views: 419
Wow, my name is now on Project.module :o
I don't often think about just how much input i have put into the IDE. I just use it a lot, if i find problems i either try to fix them or report the problem to Benoit and he fixes them if I can't. I have thought of some really useful features I know can benefit everyone, some have been added either...
- Saturday 5th October 2024 2:54pm
- Forum: General
- Topic: Event of a control's property...
- Replies: 1
- Views: 403
Re: Event of a control's property...
By default you can only get the FileChooser1_ events. You cannot access the FileChooser internal FileView events through FileChooser in any way. But you can create an Observer for the FileView Public Sub Form_Open() Dim hObs As Observer = New Observer(FileChooser1.FileView) As "OBS" End Pu...
- Monday 30th September 2024 6:34pm
- Forum: Beginners
- Topic: list printers in combobox
- Replies: 2
- Views: 452
Re: list printers in combobox
You have various answers here already on your duplicate post from the other day.
https://forum.gambas.one/viewtopic.php?t=1877
https://forum.gambas.one/viewtopic.php?t=1877
- Monday 30th September 2024 4:49pm
- Forum: Beginners
- Topic: Load available printers to a combobox
- Replies: 5
- Views: 740
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: 875
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: 875
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