Cool way to "quick edit" my application

Post

Posted
Rating:
#1 (In Topic #732)
Guru
BruceSteers is in the usergroup ‘Guru’
I just added this code to my application…

Code (gambas)

  1.  
  2. Public Sub Form_KeyPress()
  3.  
  4.   Select Key.Code
  5.     Case Key["e"]
  6.       If Key.Control And Key.Shift Then
  7.         If Not Exist(Application.Path &/ ".project") Then
  8.           Message.Error("Error!\nCannot edit, I'm not in my project folder")
  9.           Else
  10.         Exec ["gambas3", Application.Path]
  11.         Endif
  12.       Endif
  13.  
  14.  
  15.  


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-)
Online now: No Back to the top
1 guest and 0 members have just viewed this.