PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SysListScreenResolution (Function)
In French: SysListeRésolutionEcran
Returns the possible resolutions for a screen.
Example
// Adds into a table containing 3 columns
// the list of available resolutions for the main screen
ListAdd(TABLE_Resolution, SysListScreenResolution())
Syntax
<Result> = SysListScreenResolution([<Screen Name>])
<Result>: Character string
Character string containing the list of available resolutions, empty string ("") if an error occurred. ErrorInfo returns more details about the problem.
This string has the following format:
<Horizontal Resolution 1> + TAB + <Vertical Resolution 1> + TAB +
<Number of Bits per Pixels 1> + TAB + <Refresh Frequency> + CR + ... +
<Horizontal Resolution N> + TAB + <Vertical Resolution N> + TAB +
<Number of Bits per Pixels N> + TAB + <Refresh Frequency N>
<Screen Name>: Optional character string (with quotes)
Name of the screen for which the available resolutions are requested. If this parameter is not specified, the available resolutions are sought for the main screen. If the name of the screen does not exist, <Result> corresponds to an empty string ("").
Note: The list of screen names is returned by SysListScreen.
Remarks
This function cannot be used in Windows NT4.
Related Examples:
The system functions (screens) 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
- ...
Components
WINDEVReports and Queries wd230std.dll
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment