Changeset 4 for trunk/StudioPackage/Forms/UFormMain.pas
- Timestamp:
- Aug 1, 2012, 11:10:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StudioPackage/Forms/UFormMain.pas
r3 r4 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, 9 ActnList, ComCtrls ;9 ActnList, ComCtrls, ExtCtrls; 10 10 11 11 type … … 47 47 MenuItem8: TMenuItem; 48 48 MenuItem9: TMenuItem; 49 PageControl1: TPageControl; 50 PageControl2: TPageControl; 51 PageControl3: TPageControl; 52 PageControl4: TPageControl; 53 Splitter1: TSplitter; 54 Splitter2: TSplitter; 49 55 StatusBar1: TStatusBar; 56 TabSheetProject: TTabSheet; 57 TabSheet2: TTabSheet; 58 TabSheet3: TTabSheet; 59 TabSheetSource: TTabSheet; 50 60 ToolBar1: TToolBar; 51 61 ToolButton1: TToolButton; … … 55 65 procedure AExitExecute(Sender: TObject); 56 66 procedure AViewProjectManagerExecute(Sender: TObject); 67 procedure FormShow(Sender: TObject); 57 68 private 58 { private declarations }69 procedure DockInit; 59 70 public 60 71 { public declarations } … … 69 80 70 81 uses 71 UFormProject ;82 UFormProject, UFormSourceCode; 72 83 73 84 { TFormMain } … … 83 94 end; 84 95 96 procedure TFormMain.FormShow(Sender: TObject); 97 begin 98 DockInit; 99 end; 100 101 procedure TFormMain.DockInit; 102 begin 103 FormSourceCode.ManualDock(TabSheetSource, nil, alClient); 104 FormSourceCode.Align := alClient; 105 FormSourceCode.Show; 106 FormProject.ManualDock(TabSheetProject, nil, alClient); 107 FormProject.Align := alClient; 108 FormProject.Show; 109 end; 110 85 111 end. 86 112
Note:
See TracChangeset
for help on using the changeset viewer.