Help / WLanguage / WLanguage functions / Standard functions / Windows management functions / System functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
SysListScreenResolution (Function)
In french: SysListeRésolutionEcran
Returns the possible resolutions for a screen.
// Adds into a table containing 3 columns
// the list of available resolutions for the main screen
ListAdd(TABLE_Resolution, SysListScreenResolution())
<Result> = SysListScreenResolution([<Screen name>])
<Result>: Character string
Character string containing the list of available resolutions, empty string ("") if an error occurred. ErrorInfo returns more information on the error.
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
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 ("").
Remark: The list of screen names is returned by SysListScreen.
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
- ...
Component: wd280std.dll
Minimum version required
  • Version 12
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help