Sub Gfa_OnRun
Sub Gfa_OnEnd
The Sub Gfa_OnRun is called directly before the start of a program. This event could be used to save the latest changes before running. This event might also be used to start the execution of a Gfa_Tron proc for debugging purposes.
The Sub Gfa_OnEnd is called directly after the end of a program. Gfa_OnRun and Gfa_OnEnd subs could be used to minimize the IDE when a program is started.
// Use Gfa_OnRun to backup file in system's temporary directory.
Sub Gfa_OnRun //Backup before program start
Debug "Starting Program"
If Gfa_Dirty Then Gfa_SaveFile TempDir & "run.g32"
ShowW Gfa_hWnd, SW_MINIMIZE
End Sub
Sub Gfa_OnEnd
ShowW Gfa_hWnd, SW_RESTORE
End Sub
Gfa_Run, Gfa_Init, Gfa_Exit, Gfa_Minute, Gfa_Second
{Created by Sjouke Hamstra; Last updated: 08/10/2014 by James Gaite}