Cool way to "quick edit" my application
Posted: Saturday 28th August 2021 10:43am
I just added this code to my application...
Now when i'm using my app if i find a problem with it i just hit Ctrl-Shift-E and the gambas IDE opens up with the app loaded
Public Sub Form_KeyPress()
Select Key.Code
Case Key["e"]
If Key.Control And Key.Shift Then
If Not Exist(Application.Path &/ ".project") Then
Message.Error("Error!\nCannot edit, I'm not in my project folder")
Else
Exec ["gambas3", Application.Path]
Endif
Endif
End Select
End
Now when i'm using my app if i find a problem with it i just hit Ctrl-Shift-E and the gambas IDE opens up with the app loaded