Changeset 9 for trunk/Forms/UFormMain.pas
- Timestamp:
- Jan 25, 2015, 9:41:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r7 r9 30 30 public 31 31 procedure DockInit; 32 procedure UpdateInterface; 32 33 end; 33 34 … … 40 41 41 42 uses 42 UFormDatabases, UCore ;43 UFormDatabases, UCore, UFormTables; 43 44 44 45 { TFormMain } … … 61 62 procedure TFormMain.DockInit; 62 63 begin 63 FormDatabases.ManualDock(FormMain, nil, alClient); 64 FormDatabases.Align := alClient; 65 FormDatabases.Show; 64 FormTables.ManualDock(FormMain, nil, alClient); 65 FormTables.Align := alClient; 66 FormTables.Show; 67 end; 68 69 procedure TFormMain.UpdateInterface; 70 var 71 NewCaption: string; 72 begin 73 NewCaption := Application.Title; 74 if Assigned(Core.Database) then NewCaption := NewCaption + ' - ' + Core.Database.Name; 75 FormMain.Caption := NewCaption; 66 76 end; 67 77
Note:
See TracChangeset
for help on using the changeset viewer.