Changeset 41 for trunk/Forms
- Timestamp:
- Feb 19, 2012, 5:26:03 PM (13 years ago)
- Location:
- trunk/Forms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r39 r41 951 951 Action = AViewCompilers 952 952 end 953 object MenuItem19: TMenuItem954 Action = AViewInterpretter955 end956 953 end 957 954 object MenuItem10: TMenuItem … … 1079 1076 OnExecute = AProgramStopExecute 1080 1077 ShortCut = 16497 1081 end1082 object AViewInterpretter: TAction1083 Category = 'View'1084 Caption = 'Interpretter'1085 OnExecute = AViewInterpretterExecute1086 1078 end 1087 1079 object AProgramStepInto: TAction -
trunk/Forms/UFormMain.lrt
r38 r41 25 25 TMAINFORM.APROGRAMPAUSE.CAPTION=Pause 26 26 TMAINFORM.APROGRAMSTOP.CAPTION=Stop 27 TMAINFORM.AVIEWINTERPRETTER.CAPTION=Interpretter28 27 TMAINFORM.APROGRAMSTEPINTO.CAPTION=Step into 29 28 TMAINFORM.APROGRAMSTEPOVER.CAPTION=Step over -
trunk/Forms/UFormMain.pas
r40 r41 34 34 AProgramStepOver: TAction; 35 35 AProgramStepInto: TAction; 36 AViewInterpretter: TAction;37 36 AProgramPause: TAction; 38 37 AProgramStop: TAction; … … 61 60 MenuItem17: TMenuItem; 62 61 MenuItem18: TMenuItem; 63 MenuItem19: TMenuItem;64 62 MenuItem2: TMenuItem; 65 63 MenuItem20: TMenuItem; … … 198 196 199 197 uses 200 UFormCPU, UApplicationInfo, UFormOptions, UFormMessages, 198 UFormCPU, UApplicationInfo, UFormOptions, UFormMessages, UTargetJava, 201 199 UTargetDelphi, UTargetPHP, UTargetC, UFormTargets, UFormOutput, UFormInput, 202 200 UFormMemory; … … 394 392 AProgramStop.Enabled := (tcStop in CurrentTarget.Capabilities) and 395 393 (ProjectFileName <> '') and (CurrentTarget.State <> rsStopped); 396 AProgramCompile.Enabled := (tcCompile in CurrentTarget.Capabilities); 394 AProgramCompile.Enabled := (tcCompile in CurrentTarget.Capabilities) and 395 (ProjectFileName <> ''); 397 396 AProgramStepInto.Enabled := (tcStepInto in CurrentTarget.Capabilities) and 398 397 (ProjectFileName <> '') and ((CurrentTarget.State = rsPaused) or (CurrentTarget.State = rsStopped)); … … 437 436 Targets.Add(TTargetPHP.Create); 438 437 Targets.Add(TTargetC.Create); 438 Targets.Add(TTargetJava.Create); 439 439 UpdateTargetList; 440 440 LastOpenedList := TLastOpenedList.Create; … … 577 577 Optimization := coNormal; 578 578 SourceCode := MemoSource.Text; 579 ProgramName := ExtractFileNameOnly(ProjectFileName); 579 ProjectFileName := Self.ProjectFileName; 580 ProgramName := ExtractFileNameOnly(Self.ProjectFileName); 580 581 CurrentTarget.Messages.AddMessage('Compiling...'); 581 582 Compile;
Note:
See TracChangeset
for help on using the changeset viewer.