AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de ventanas
  • Difference between the result of WinOutWidth and the resolution
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
Returns the full width of a window (including the border).
Remark: The WinOutWidth function is equivalent to the Width property (<Window>.Width).
Example
// Width of the "WIN_EditCustomer" window
ResWidth = WinOutWidth(WIN_EditCustomer)
Syntax
<Result> = WinOutWidth([<Window used>])
<Result>: Integer
Width of the window (in pixels).
<Window used>: Optional window name or optional string
Name or alias of the window to be used. If this parameter is not specified or if it corresponds to an empty string (""), the width of the current window is returned.
Remarks
WINDEVReports and QueriesUser code (UMC)

Difference between the result of WinOutWidth and the resolution

The result of WinOutWidth used on a maximized window may be 8 pixels more that the resolution because WinOutWidth takes into account the "Border" of the window outside the screen (4 pixels on each side).
Therefore, for a resolution of 1280x1024, WinOutWidth and WinOutHeight return 1288x1032.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local