Changeset 192 for Docking/CoolDocking/UCDCustomize.pas
- Timestamp:
- Mar 11, 2011, 10:44:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCDCustomize.pas
r189 r192 11 11 type 12 12 13 { TC oolDockCustomizeForm }13 { TCDCustomizeForm } 14 14 15 TC oolDockCustomizeForm = class(TForm)15 TCDCustomizeForm = class(TForm) 16 16 published 17 17 ButtonLayoutDelete: TButton; … … 50 50 private 51 51 FLayoutList: TCDLayoutList; 52 Form: TC oolDockCustomizeForm;52 Form: TCDCustomizeForm; 53 53 procedure SetLayoutList(const AValue: TCDLayoutList); 54 54 public … … 70 70 SEnterNewName = 'Enter new name'; 71 71 72 { TC oolDockCustomizeForm }72 { TCDCustomizeForm } 73 73 74 procedure TC oolDockCustomizeForm.ButtonCloseClick(Sender: TObject);74 procedure TCDCustomizeForm.ButtonCloseClick(Sender: TObject); 75 75 begin 76 76 Close; 77 77 end; 78 78 79 procedure TC oolDockCustomizeForm.ButtonLayoutApplyClick(Sender: TObject);79 procedure TCDCustomizeForm.ButtonLayoutApplyClick(Sender: TObject); 80 80 begin 81 81 if ListBox1.ItemIndex <> - 1 then … … 83 83 end; 84 84 85 procedure TC oolDockCustomizeForm.ButtonLayoutDeleteClick(Sender: TObject);85 procedure TCDCustomizeForm.ButtonLayoutDeleteClick(Sender: TObject); 86 86 begin 87 87 if ListBox1.ItemIndex <> - 1 then begin … … 91 91 end; 92 92 93 procedure TC oolDockCustomizeForm.ButtonLayoutNewClick(Sender: TObject);93 procedure TCDCustomizeForm.ButtonLayoutNewClick(Sender: TObject); 94 94 var 95 95 NewLayout: TCDLayout; … … 107 107 end; 108 108 109 procedure TC oolDockCustomizeForm.ButtonLayoutRenameClick(Sender: TObject);109 procedure TCDCustomizeForm.ButtonLayoutRenameClick(Sender: TObject); 110 110 var 111 111 NewName: string; … … 118 118 end; 119 119 120 procedure TC oolDockCustomizeForm.FormShow(Sender: TObject);120 procedure TCDCustomizeForm.FormShow(Sender: TObject); 121 121 begin 122 122 if Assigned(LayoutList) then begin … … 125 125 end; 126 126 127 procedure TC oolDockCustomizeForm.ListBox1SelectionChange(Sender: TObject;127 procedure TCDCustomizeForm.ListBox1SelectionChange(Sender: TObject; 128 128 User: boolean); 129 129 begin … … 145 145 function TCDCustomize.Execute: Boolean; 146 146 begin 147 Form := TC oolDockCustomizeForm.Create(Self);147 Form := TCDCustomizeForm.Create(Self); 148 148 if Assigned(Master) then begin 149 149 Form.SpinEdit1.Value := TCDMaster(Master).DefaultMoveSpeed;
Note:
See TracChangeset
for help on using the changeset viewer.