Ignore:
Timestamp:
Sep 21, 2010, 8:03:17 AM (14 years ago)
Author:
george
Message:
  • Přidáno: Okno pro zobrazení seznamu všech oken.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/UCoolDockCustomize.pas

    r55 r56  
    2020    TabSheetSetting: TTabSheet;
    2121    TabSheetLayouts: TTabSheet;
     22    procedure ButtonCloseClick(Sender: TObject);
    2223  private
    2324    { private declarations }
     
    2526  end;
    2627
    27   TCoolDockCustomize = class(TComponent)
    28     Form: TCoolDockCustomizeForm;
    29     function Execute: Boolean;
    30     constructor Create(AOwner: TComponent); override;
    31   end;
    32 
    3328implementation
    3429
    35 { TCoolDockCustomize }
    3630
    37 function TCoolDockCustomize.Execute: Boolean;
     31{ TCoolDockCustomizeForm }
     32
     33procedure TCoolDockCustomizeForm.ButtonCloseClick(Sender: TObject);
    3834begin
    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;
    4736end;
    4837
Note: See TracChangeset for help on using the changeset viewer.