|
|
|
|
- Finding out the characteristics of the resolution
SysChangeScreenResolution (Function) In french: SysChangeRésolutionEcran Modifies the resolution of a screen. IF SysChangeScreenResolution(640, 480, 8, 60) = True THEN Info("Restart your computer in order to apply the new configuration") END Syntax
<Result> = SysChangeScreenResolution(<Resolution in width> , <Resolution in height> , <Number of bits per pixel> , <Refresh rate> [, <Screen name>])
<Result>: Boolean - True if it is necessary to restart the computer to take into account the change of resolution,
- False otherwise. ErrorInfo returns more information on the error.
<Resolution in width>: Integer New resolution in width (in pixels). <Resolution in height>: Integer New resolution in height (in pixels). <Number of bits per pixel>: Integer New number of bits per pixel. <Refresh rate>: Integer New refresh rate (in Hertz). <Screen name>: Optional character string Name of the screen to modify. If this parameter is not specified, the resolution of the main screen will be modified. If the name of the screen does not exist, <Result> is set to False.
Remark: The list of screen names is returned by SysListScreen. Remarks Finding out the characteristics of the resolution
Related Examples:
|
Unit examples (WINDEV): The system functions (screens)
[ + ] Using the SysXxx functions on the screens in order to get various information: - Retrieve the number of screens installed on the computer - Retrieve the graphic cards installed on the computer - Change the resolution of a screen - ...
|
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|