AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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
The UsefulWidth property is used to get and change the useful width of an internal window (or supercontrol) with scrollbars.
The useful size corresponds to the full size of the internal window:
  • Width of internal window.
  • Height of internal window.
Example
SC_Supercontrol1.Width = 320
SC_Supercontrol1.UsefulWidth = 2000
Syntax

Finding out the useful width of an element Hide the details

<Current Useful Width> = <Element to use>.UsefulWidth
<Current Useful Width>: Integer
Useful width of element expressed in pixels.
<Element to use>: Control name or window name
Name of the element (internal window or supercontrol) to use.

Modifying the useful width of an element Hide the details

<Element to use>.UsefulWidth = <New Useful Width>
<Element to use>: Control name or window name
Name of the element (internal window or supercontrol) to use.
<New Useful Width>: Integer
New useful width of the element expressed in pixels.
Remarks
  • The anchors are applied in relation to the useful size and therefore they are modified if the useful width is modified.
  • If the useful width is greater than the width of the internal window (or supercontrol), a scrollbar is displayed.
  • If the useful width is smaller than the width of the internal window (or supercontrol), the useful width is ignored.
Versión mínima requerida
  • Versión 20
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 13/11/2023

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