Changeset 10 for trunk/StudioModules
- Timestamp:
- Aug 3, 2012, 1:55:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StudioModules/LDModuleDebug/ULDModuleDebug.pas
r5 r10 72 72 AViewFormMemory.Caption := SViewFormMemory; 73 73 RegisterAction(AViewFormMemory); 74 // Menu 74 75 MenuItemViewDebug := TMenuItem.Create(nil); 75 76 MenuItemViewDebug.Caption := SDebug; … … 78 79 MenuItemViewFormOutput.Action := AViewFormOutput; 79 80 RegisterMainMenuItem(MenuItemViewFormOutput, MenuItemViewDebug, 0); 81 MenuItemViewFormInput := TMenuItem.Create(nil); 82 MenuItemViewFormInput.Action := AViewFormInput; 83 RegisterMainMenuItem(MenuItemViewFormInput, MenuItemViewDebug, 1); 84 MenuItemViewFormMemory := TMenuItem.Create(nil); 85 MenuItemViewFormMemory.Action := AViewFormMemory; 86 RegisterMainMenuItem(MenuItemViewFormMemory, MenuItemViewDebug, 2); 87 MenuItemViewFormCPU := TMenuItem.Create(nil); 88 MenuItemViewFormCPU.Action := AViewFormCPU; 89 RegisterMainMenuItem(MenuItemViewFormCPU, MenuItemViewDebug, 3); 80 90 end; 81 91 inherited; … … 86 96 inherited; 87 97 with TLDStudioAPI(API) do begin 98 UnregisterMainMenuItem(MenuItemViewFormOutput); 99 FreeAndNil(MenuItemViewFormOutput); 100 UnregisterMainMenuItem(MenuItemViewFormInput); 101 FreeAndNil(MenuItemViewFormInput); 102 UnregisterMainMenuItem(MenuItemViewFormMemory); 103 FreeAndNil(MenuItemViewFormMemory); 104 UnregisterMainMenuItem(MenuItemViewFormCPU); 105 FreeAndNil(MenuItemViewFormCPU); 106 UnregisterMainMenuItem(MenuItemViewDebug); 107 FreeAndNil(MenuItemViewDebug); 88 108 UnregisterForm(FormOutput); 89 109 UnregisterForm(FormInput);
Note:
See TracChangeset
for help on using the changeset viewer.