Changeset 68 for branches/Independent/Forms
- Timestamp:
- Dec 17, 2024, 11:10:31 PM (6 weeks ago)
- Location:
- branches/Independent/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Independent/Forms/FormMain.lfm
r66 r68 1 1 object FormName: TFormName 2 2 Left = 465 3 Height = 5 353 Height = 569 4 4 Top = 352 5 5 Width = 971 -
branches/Independent/Forms/FormMain.pas
r66 r68 34 34 procedure ConsoleWrite(Text: string); 35 35 function LoadFile(Name: string): string; 36 function GetMousePosition: TPoint; 36 37 public 37 38 FormConsole: TFormConsole; … … 58 59 System.Console.OnWrite := ConsoleWrite; 59 60 System.FileSystem.OnLoadFile := LoadFile; 61 System.Mouse.OnGetPosition := GetMousePosition; 60 62 System.OnDraw := FormScreen.Redraw; 61 63 FormScreen.System := System; … … 115 117 end; 116 118 119 function TFormName.GetMousePosition: TPoint; 120 begin 121 Result := Mouse.CursorPos; 122 end; 123 117 124 end. 118 125
Note:
See TracChangeset
for help on using the changeset viewer.