Changeset 28
- Timestamp:
- Aug 23, 2019, 9:14:24 AM (5 years ago)
- Location:
- branches/topdown
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/topdown/Apps/UAppCalc.pas
r25 r28 43 43 Calculate; 44 44 LastOp := opAdd; 45 EditInput.SetFocus; 46 EditInput.SelectAll; 45 47 end; 46 48 … … 48 50 begin 49 51 Calculate; 52 EditInput.SetFocus; 53 EditInput.SelectAll; 50 54 end; 51 55 … … 54 58 Calculate; 55 59 LastOp := opMultiply; 60 EditInput.SetFocus; 61 EditInput.SelectAll; 56 62 end; 57 63 -
branches/topdown/OS.lpi
r26 r28 32 32 </Item1> 33 33 </RequiredPackages> 34 <Units Count=" 7">34 <Units Count="8"> 35 35 <Unit0> 36 36 <Filename Value="OS.lpr"/> … … 72 72 <ResourceBaseClass Value="Form"/> 73 73 </Unit6> 74 <Unit7> 75 <Filename Value="Apps\UAppTextEditor.pas"/> 76 <IsPartOfProject Value="True"/> 77 <ComponentName Value="FormTextEditor"/> 78 <ResourceBaseClass Value="Form"/> 79 </Unit7> 74 80 </Units> 75 81 </ProjectOptions> -
branches/topdown/OS.lpr
r26 r28 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, SysUtils, UFormMain, UApps, USystem, UAppCalc, UFormMenu, UAppFileManager 10 Forms, SysUtils, UFormMain, UApps, USystem, UAppCalc, UFormMenu, 11 UAppFileManager, UAppTextEditor 11 12 { you can add units after this }; 12 13 -
branches/topdown/UFormMain.lfm
r27 r28 13 13 OnShow = FormShow 14 14 LCLVersion = '2.0.2.0' 15 WindowState = ws Maximized15 WindowState = wsFullScreen 16 16 object PanelTaskBar: TPanel 17 17 Left = 0 -
branches/topdown/UFormMain.pas
r27 r28 37 37 38 38 uses 39 UAppCalc, UAppFileManager, UFormMenu; 39 UAppCalc, UAppFileManager, UAppTextEditor, 40 UFormMenu; 40 41 41 42 { TFormMain } … … 90 91 procedure TFormMain.FormCreate(Sender: TObject); 91 92 begin 93 BoundsRect := Bounds(0, 0, Screen.Width, Screen.Height); 94 BaseSystem.ScreenForm := Self; 92 95 BaseSystem.Apps.AddNew('Calculator', TFormCalculator); 93 BaseSystem.Apps.AddNew('File Manager', TFormFileManager); 96 BaseSystem.Apps.AddNew('File manager', TFormFileManager); 97 BaseSystem.Apps.AddNew('Text editor', TFormTextEditor); 94 98 BaseSystem.Tasks.OnChange := TasksChange; 95 99 end; -
branches/topdown/UFormMenu.lfm
r27 r28 28 28 object ToolBar1: TToolBar 29 29 Left = 164 30 Height = 3030 Height = 28 31 31 Top = 362 32 32 Width = 90 33 33 Align = alCustom 34 Anchors = [ak Top, akRight]34 Anchors = [akRight, akBottom] 35 35 AutoSize = True 36 36 Caption = 'ToolBar1' … … 41 41 object ToolButton1: TToolButton 42 42 Left = 1 43 Top = 243 Top = 0 44 44 Caption = 'Shutdown' 45 45 DropdownMenu = PopupMenu1 -
branches/topdown/USystem.pas
r26 r28 59 59 Apps: TApps; 60 60 Tasks: TTasks; 61 ScreenForm: TForm; 61 62 constructor Create; 62 63 destructor Destroy; override; … … 115 116 Task := AddNew(Form); 116 117 Form.Task := Task; 118 //Form.Parent := BaseSystem.ScreenForm; 117 119 Form.Show; 118 120 DoOnChange;
Note:
See TracChangeset
for help on using the changeset viewer.