The last parameter of the SCREEN-statement indicates wether or not the full-screen mode or a windowed mode should be used.
If the statement is not used, the program is run in windowed-mode.
If the statement is used, the program switches to full-screen mode, independent from the FullScreen-parameter.
This problem only occurs in the DOS-version of FreeBasic. The Windows-version works correct.
FullScreen-parameter of SCREEN-statement ignored
True DOS is ALWAYS fullscreen....
The problem you report occurs when you run FB DOS programs in a Windows ' DOS Box. Unfortunately you can't switch to fullscreen from a DOS program because that switching occurs outside the DOS enviroment. The same occurs in QB programs.
The solution is to require the fullscreen mode in the shortcut to the program.
The problem you report occurs when you run FB DOS programs in a Windows ' DOS Box. Unfortunately you can't switch to fullscreen from a DOS program because that switching occurs outside the DOS enviroment. The same occurs in QB programs.
The solution is to require the fullscreen mode in the shortcut to the program.
Not entirely true, in windows, switching to a graphics mode from a realmode application in the VM will cause it to run fullscreen (as opposed to windowed). This is mostly to windows using interrupt hooks to analyze video card requests. If the program programs the mode directly, then unexpected results can occur when running under windows.