ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SysNameMainScreen (Function)
In french: SysNomEcranPrincipal
Returns the name of the main screen for the computer.
Example
// Displays the name of the main screen
Info(SysNameMainScreen())
// Displays for example: \\.\DISPLAY2\Monitor2 Plug-and-Play screen
Syntax
<Result> = SysNameMainScreen()
<Result>: Character string
  • Name of the main screen,
  • Empty string ("") if an error occurred.
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
- ...
Business / UI classification: Business Logic
Component: wd290std.dll
See also
Minimum version required
  • Version 12
This page is also available for…
Comments
NOME DO MONITOR
EDT_NOME_MONITOR_PRINCIPAL=SysNameMainScreen()

// Retorna o nome da tela principal para o computador.
// Returns the name of the main screen for the computer.
// Devuelve el nombre de la pantalla principal del equipo.

// BLOG COM VIDEO E EXEMPLO PEGAR NOME DO MONITOR

http://windevdesenvolvimento.blogspot.com.br/2017/08/aula-1234-windev-monitor-002.html

https://www.youtube.com/watch?v=AP-jXQvK7yg

De matos
07 Aug. 2017

Last update: 06/22/2023

Send a report | Local help