Changeset 7 for trunk/StudioPackage/Forms/UFormMain.pas
- Timestamp:
- Aug 3, 2012, 10:42:13 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StudioPackage/Forms/UFormMain.pas
r6 r7 18 18 ABuild: TAction; 19 19 ABuildClean: TAction; 20 AFileOpenRecent: TAction; 21 AFileNew: TAction; 22 AFileSaveAs: TAction; 23 AFileSave: TAction; 24 AFileClose: TAction; 25 AFileOpen: TAction; 20 26 ARebuild: TAction; 21 27 AStop: TAction; … … 44 50 MenuItem16: TMenuItem; 45 51 MenuItem17: TMenuItem; 46 MenuItem18: TMenuItem;47 52 MenuItem19: TMenuItem; 48 53 MenuItem2: TMenuItem; … … 53 58 MenuItem24: TMenuItem; 54 59 MenuItem25: TMenuItem; 60 MenuItem26: TMenuItem; 61 MenuItem27: TMenuItem; 62 MenuItem28: TMenuItem; 63 MenuItem29: TMenuItem; 55 64 MenuItem3: TMenuItem; 65 MenuItem30: TMenuItem; 66 MenuItem31: TMenuItem; 67 MenuItem32: TMenuItem; 68 MenuItem33: TMenuItem; 69 MenuItem34: TMenuItem; 56 70 MenuItem4: TMenuItem; 57 71 MenuItem5: TMenuItem; … … 60 74 MenuItem8: TMenuItem; 61 75 MenuItem9: TMenuItem; 76 OpenDialogFile: TOpenDialog; 62 77 PageControl1: TPageControl; 63 78 PageControl2: TPageControl; 64 79 PageControl3: TPageControl; 65 80 PageControl4: TPageControl; 81 SaveDialogFile: TSaveDialog; 66 82 Splitter1: TSplitter; 67 83 Splitter2: TSplitter; … … 77 93 ToolButton4: TToolButton; 78 94 procedure AExitExecute(Sender: TObject); 95 procedure AFileOpenExecute(Sender: TObject); 79 96 procedure AViewProjectManagerExecute(Sender: TObject); 80 97 procedure AViewSettingsExecute(Sender: TObject); … … 94 111 95 112 uses 96 UFormProject, UFormSourceCode, UFormSettings ;113 UFormProject, UFormSourceCode, UFormSettings, UDataModule; 97 114 98 115 { TFormMain } … … 101 118 begin 102 119 Application.Terminate; 120 end; 121 122 procedure TFormMain.AFileOpenExecute(Sender: TObject); 123 begin 124 OpenDialogFile.Filter := DataModule1.FileTypes.GetDialogFilter; 125 if OpenDialogFile.Execute then ; 103 126 end; 104 127
Note:
See TracChangeset
for help on using the changeset viewer.