Search results
1 sty 2019 · Code: Pascal [Select] [+] procedure TForm1.ToggleFullscreenActionExecute(Sender: TObject); begin. if WindowState = wsFullScreen then begin. WindowState := wsNormal; ToggleFullscreenAction.Caption := 'Fullscreen'; end. else begin. WindowState := wsFullScreen; ToggleFullscreenAction.Caption := 'Exit Fullscreen'; end;
26 lis 2020 · Introduction. Some applications like some web browsers allow show in full screen mode using key F11. In full screen mode window hasn't border and uses entire screen space. Standard way. You can switch form to full screen mode simply by assigning wsFullScreen value to TForm.WindowState property.
24 gru 2015 · For GUI application the simplest way is to use TApplicationProperties components (Additional page) and its OnException event to catch unhandled exceptions. Write something like if E is ESyntaxError then Halt(65) else raise E; inside it.
Download Official releases. These are ready made packages, together with an install program, to get you up and running in no time. All packages contain a README file, which you should read for installation instructions and latest news. The latest release is 3.2.2.
Exit exits the current subroutine, and returns control to the calling routine. If invoked in the main program routine, exit stops the program. The optional argument X allows to specify a return value, in the case Exit is invoked in a function. The function result will then be equal to X.
6.6 Entry and exit code. Each Pascal procedure and function begins and ends with standard epilogue and prologue code.
Free Pascal Programmer’s Guide Programmer’s Guide for Free Pascal, Version 3.2.2 Document version 3.2.2 May 2021 Michaël Van Canneyt