Changeset 4 for trunk/Forms
- Timestamp:
- Sep 1, 2014, 7:10:03 PM (10 years ago)
- Location:
- trunk/Forms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormBrowse.lfm
r3 r4 1 1 object FormBrowse: TFormBrowse 2 Left = 3512 Left = 554 3 3 Height = 526 4 Top = 1474 Top = 269 5 5 Width = 722 6 6 Caption = 'Browse' 7 7 ClientHeight = 526 8 8 ClientWidth = 722 9 LCLVersion = '1. 1'9 LCLVersion = '1.3' 10 10 object TreeView1: TTreeView 11 11 Left = 0 … … 14 14 Width = 241 15 15 Align = alLeft 16 DefaultItemHeight = 24 16 17 TabOrder = 0 17 18 end … … 43 44 item 44 45 Caption = 'Status' 45 Width = 25 646 Width = 259 46 47 end> 47 48 ReadOnly = True -
trunk/Forms/UFormMain.lfm
r3 r4 5 5 Width = 667 6 6 Caption = 'VCSCommander' 7 ClientHeight = 47 27 ClientHeight = 471 8 8 ClientWidth = 667 9 9 Menu = MainMenu1 10 LCLVersion = '1. 1'10 LCLVersion = '1.3' 11 11 object ToolBarMain: TToolBar 12 12 Left = 0 … … 15 15 Width = 667 16 16 Caption = 'ToolBarMain' 17 Images = ImageList118 17 ParentShowHint = False 19 18 ShowHint = True … … 22 21 object StatusBar1: TStatusBar 23 22 Left = 0 24 Height = 2 125 Top = 4 5123 Height = 26 24 Top = 445 26 25 Width = 667 27 26 Panels = <> 28 27 end 29 28 object MainMenu1: TMainMenu 30 Images = ImageList131 29 left = 232 32 30 top = 88 33 31 object MenuItemFile: TMenuItem 34 32 Caption = 'File' 33 object MenuItem8: TMenuItem 34 Action = Core.AProjectOpen 35 end 36 object MenuItem10: TMenuItem 37 Action = Core.AProjectClose 38 end 39 object MenuItem9: TMenuItem 40 Caption = '-' 41 end 35 42 object MenuItemQuit: TMenuItem 36 Action = AQuit43 Action = Core.AQuit 37 44 end 38 45 end … … 40 47 Caption = 'View' 41 48 object MenuItem7: TMenuItem 42 Action = AViewFavorites49 Caption = 'Favorites' 43 50 end 44 51 end … … 46 53 Caption = 'General' 47 54 object MenuItem2: TMenuItem 48 Action = ASettings55 Action = Core.ASettings 49 56 end 50 57 end 51 58 object MenuItem3: TMenuItem 52 Caption = 'Help'59 Action = Core.AHelp 53 60 object MenuItem5: TMenuItem 54 Action = AHelp61 Caption = 'Help' 55 62 end 56 63 object MenuItem4: TMenuItem 57 Action = AAbout64 Action = Core.AAbout 58 65 end 59 66 end 60 67 end 61 object ActionList1: TActionList62 Images = ImageList163 left = 23264 top = 14465 object AQuit: TAction66 Caption = 'Quit'67 Hint = 'Quit'68 OnExecute = AQuitExecute69 end70 object ASettings: TAction71 Caption = 'Settings'72 end73 object AAbout: TAction74 Caption = 'About'75 end76 object AHelp: TAction77 Caption = 'Help'78 end79 object AViewFavorites: TAction80 Caption = 'Favorites'81 end82 end83 object ImageList1: TImageList84 left = 23285 top = 20086 end87 68 end -
trunk/Forms/UFormMain.pas
r3 r4 14 14 15 15 TFormMain = class(TForm) 16 AViewFavorites: TAction;17 AHelp: TAction;18 ASettings: TAction;19 AAbout: TAction;20 AQuit: TAction;21 ActionList1: TActionList;22 ImageList1: TImageList;23 16 MainMenu1: TMainMenu; 24 17 MenuItem1: TMenuItem; 18 MenuItem10: TMenuItem; 25 19 MenuItem2: TMenuItem; 26 20 MenuItem3: TMenuItem; … … 29 23 MenuItem6: TMenuItem; 30 24 MenuItem7: TMenuItem; 25 MenuItem8: TMenuItem; 26 MenuItem9: TMenuItem; 31 27 MenuItemQuit: TMenuItem; 32 28 MenuItemFile: TMenuItem; 33 29 StatusBar1: TStatusBar; 34 30 ToolBarMain: TToolBar; 35 procedure AQuitExecute(Sender: TObject);36 31 private 37 32 { private declarations } 38 33 public 39 { public declarations }34 procedure UpdateInterface; 40 35 end; 41 36 … … 47 42 {$R *.lfm} 48 43 44 uses 45 UCore; 46 49 47 { TFormMain } 50 48 51 procedure TFormMain.AQuitExecute(Sender: TObject); 49 procedure TFormMain.UpdateInterface; 50 const 51 AppName = 'VCSCommander'; 52 52 begin 53 Close; 53 if Assigned(Core.Project) then 54 Caption := Core.Project.Directory + ' - ' + AppName 55 else Caption := AppName 54 56 end; 55 57
Note:
See TracChangeset
for help on using the changeset viewer.