Changeset 56 for Docking/CoolDocking/UCoolDockCustomize.pas
- Timestamp:
- Sep 21, 2010, 8:03:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCoolDockCustomize.pas
r55 r56 20 20 TabSheetSetting: TTabSheet; 21 21 TabSheetLayouts: TTabSheet; 22 procedure ButtonCloseClick(Sender: TObject); 22 23 private 23 24 { private declarations } … … 25 26 end; 26 27 27 TCoolDockCustomize = class(TComponent)28 Form: TCoolDockCustomizeForm;29 function Execute: Boolean;30 constructor Create(AOwner: TComponent); override;31 end;32 33 28 implementation 34 29 35 { TCoolDockCustomize }36 30 37 function TCoolDockCustomize.Execute: Boolean; 31 { TCoolDockCustomizeForm } 32 33 procedure TCoolDockCustomizeForm.ButtonCloseClick(Sender: TObject); 38 34 begin 39 Form.ShowModal; 40 Result := True; 41 end; 42 43 constructor TCoolDockCustomize.Create(AOwner: TComponent); 44 begin 45 inherited Create(AOwner); 46 Form := TCoolDockCustomizeForm.Create(Self); 35 Close; 47 36 end; 48 37
Note:
See TracChangeset
for help on using the changeset viewer.