Changeset 43 for trunk/IDE/Forms/UMainForm.pas
- Timestamp:
- Feb 29, 2012, 8:23:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UMainForm.pas
r42 r43 29 29 TMainForm = class(TForm) 30 30 ABuild: TAction; 31 ARunToCursor: TAction; 32 AStepOut: TAction; 33 AStepIn: TAction; 34 AStepOver: TAction; 35 AReset: TAction; 36 APause: TAction; 37 AStop: TAction; 31 38 AViewTargets: TAction; 32 39 AViewCompiledSoruce: TAction; … … 68 75 MenuItem23: TMenuItem; 69 76 MenuItem24: TMenuItem; 77 MenuItem25: TMenuItem; 78 MenuItem26: TMenuItem; 79 MenuItem27: TMenuItem; 80 MenuItem28: TMenuItem; 81 MenuItem29: TMenuItem; 82 MenuItem30: TMenuItem; 83 MenuItem31: TMenuItem; 84 MenuItem32: TMenuItem; 70 85 MenuItemProducer: TMenuItem; 71 86 MenuItem3: TMenuItem; … … 94 109 ToolBar1: TToolBar; 95 110 ToolButton1: TToolButton; 111 ToolButton10: TToolButton; 96 112 ToolButton2: TToolButton; 97 113 ToolButton3: TToolButton; … … 101 117 ToolButton7: TToolButton; 102 118 ToolButton8: TToolButton; 119 ToolButton9: TToolButton; 103 120 procedure AAboutExecute(Sender: TObject); 104 121 procedure AExitExecute(Sender: TObject); … … 156 173 uses 157 174 UMessagesForm, UCodeForm, UProjectManager, UCommon, UAboutForm, UFormOptions, 158 UFormTargets, UTarget, UAnalyzer, UProducer ;175 UFormTargets, UTarget, UAnalyzer, UProducer, UExecutor; 159 176 160 177 resourcestring … … 302 319 CodeForm.UpdateInterface; 303 320 ProjectManager.UpdateInterface; 321 APause.Enabled := Project.Active and Assigned(Compiler.Target) and 322 Assigned(Compiler.Target.Executor) and (Compiler.Target.Executor.State = rsRunning); 323 ARun.Enabled := Project.Active and Assigned(Compiler.Target) and 324 Assigned(Compiler.Target.Executor) and ((Compiler.Target.Executor.State = rsStopped) or 325 (Compiler.Target.Executor.State = rsPaused)); 326 AStop.Enabled := Project.Active and Assigned(Compiler.Target) and 327 Assigned(Compiler.Target.Executor) and ((Compiler.Target.Executor.State = rsRunning) or 328 (Compiler.Target.Executor.State = rsPaused)); 329 AStepIn.Enabled := Project.Active and Assigned(Compiler.Target) and 330 Assigned(Compiler.Target.Executor) and ((Compiler.Target.Executor.State = rsRunning) or 331 (Compiler.Target.Executor.State = rsPaused)); 332 AStepOut.Enabled := AStepIn.Enabled; 333 AStepOver.Enabled := AStepIn.Enabled; 334 ARunToCursor.Enabled := AStepIn.Enabled; 304 335 end; 305 336
Note:
See TracChangeset
for help on using the changeset viewer.