Changeset 58 for branches/ByteArray/Forms/FormScreen.pas
- Timestamp:
- Nov 23, 2023, 11:18:42 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ByteArray/Forms/FormScreen.pas
r45 r58 4 4 5 5 uses 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, FrameBuffer,7 Channel, Device;6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Menus, 7 FrameBuffer, Device; 8 8 9 9 type … … 13 13 TFormScreen = class(TFormDevice) 14 14 Image1: TImage; 15 MainMenu1: TMainMenu; 16 MenuItem1: TMenuItem; 17 MenuItem10: TMenuItem; 18 MenuItem11: TMenuItem; 19 MenuItem12: TMenuItem; 20 MenuItem2: TMenuItem; 21 MenuItem3: TMenuItem; 22 MenuItem4: TMenuItem; 23 MenuItem5: TMenuItem; 24 MenuItem6: TMenuItem; 25 MenuItem7: TMenuItem; 26 MenuItem8: TMenuItem; 27 MenuItem9: TMenuItem; 28 MenuItemViewConsole: TMenuItem; 29 MenuItemViewStorage: TMenuItem; 30 Separator1: TMenuItem; 31 Separator2: TMenuItem; 15 32 TimerDraw: TTimer; 33 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 16 34 procedure FormShow(Sender: TObject); 17 35 procedure TimerDrawTimer(Sender: TObject); … … 27 45 28 46 {$R *.lfm} 47 48 uses 49 Core; 29 50 30 51 { TFormScreen } … … 55 76 end; 56 77 78 procedure TFormScreen.FormClose(Sender: TObject; var CloseAction: TCloseAction); 79 begin 80 if Core.Core.MainForm = Self then Application.Terminate; 81 end; 82 57 83 procedure TFormScreen.ScreenChange(Sender: TObject); 58 84 begin
Note:
See TracChangeset
for help on using the changeset viewer.