Cool way to "quick edit" my application

Post your Gambas programming questions here.
Post Reply
Posts: 838
Joined: Thursday 23rd July 2020 5:20pm

Cool way to "quick edit" my application

Post by BruceSteers » Saturday 28th August 2021 10:43am

I just added this code to my application...

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")
        Exec ["gambas3", Application.Path]
  End Select


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 8-)

Post Reply