AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The AnchorToContent property determines and changes how the control adapts to its content.
AndroidiPhone/iPad This property is available for mobile windows.
Ejemplo
// Enlarge the control to fit the content
STC_MyText.AnchorToContent = atcAdaptInHeight
STC_MyText = Product.Description
Sintaxis

Determining how the control adapts to its content Ocultar los detalles

<Result> = <Control used>.AnchorToContent
<Result>: Integer constant
Adjustment mode currently used for the control:
atcAdaptInHeightWhen the control content changes, it adapts to the new content vertically.
atcAdaptInWidthWhen the control content changes, it adapts to the new content horizontally.
atcNoneWhen the control content changes, the control is not resized.
<Control used>: Control name
Name of field to be manipulated: Edit control, Label, HTML Display control, Switch, Picker, Template control, Button control.
AndroidiPhone/iPad This property is also available for movable windows (constant aacAdapteEnHauteur only).

Changing how the control adapts to its content Ocultar los detalles

<Control used>.AnchorToContent = <New adjustment mode>
<Control used>: Control name
Name of field to be manipulated: Edit control, Label, HTML Display control, Switch, Picker, Template control, Button.
AndroidiPhone/iPad This property is also available for movable windows (constant aacAdapteEnHauteur only).
<New adjustment mode>: Integer constant
New adjustment mode used for the control:
atcAdaptInHeightWhen the control content changes, it adapts to the new content vertically.
atcAdaptInWidthWhen the control content changes, it adapts to the new content horizontally.
atcNoneWhen the control content changes, the control is not resized.
Observaciones
  • If the control is anchored within a Layout control, the cell is enlarged so that the control fits based on its anchors.
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 13/05/2025

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