Changeset 10 for platform/trunk/LDPlatform.FormMain.pas
- Timestamp:
- May 9, 2013, 9:21:23 PM (11 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
platform/trunk/LDPlatform.FormMain.pas
r9 r10 1 unit UFormMain;1 unit LDPlatform.FormMain; 2 2 3 3 interface … … 13 13 TFormMain = class(TForm) 14 14 StatusBar1: TStatusBar; 15 CoolBar1: TCoolBar; 16 ActionManager1: TActionManager; 17 ImageList1: TImageList; 18 FormatRichEditBold1: TRichEditBold; 19 ActionMainMenuBar1: TActionMainMenuBar; 20 ActionToolBar2: TActionToolBar; 21 FileExit1: TFileExit; 22 AOptions: TAction; 23 procedure AOptionsExecute(Sender: TObject); 15 MainMenu1: TMainMenu; 16 File1: TMenuItem; 17 ools1: TMenuItem; 18 Options1: TMenuItem; 19 Quit1: TMenuItem; 24 20 private 25 21 { Private declarations } 26 22 public 27 { Public declarations }23 LDPlatform: TObject; // TLDPlatform; 28 24 end; 29 30 var31 FormMain: TFormMain;32 25 33 26 … … 37 30 38 31 uses 39 UFormOptions; 40 41 procedure TFormMain.AOptionsExecute(Sender: TObject); 42 begin 43 try 44 FormOptions := TFormOptions.Create(nil); 45 FormOptions.Load; 46 if FormOptions.ShowModal = mrOk then begin 47 FormOptions.Save; 48 end; 49 finally 50 FreeAndNil(FormOptions); 51 end; 52 end; 32 LDPlatform.Core; 53 33 54 34 end.
Note:
See TracChangeset
for help on using the changeset viewer.