PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
AnchorToContent (Property)
 
..AnchorToContent is used to find out and modify how the control adapts according to its content.
Ejemplo
// Enlarge the static according to its content
STC_MyText..AnchorToContent = atcAdaptInHeight
STC_MyText = PRODUCT.DESCRIPTION
Sintaxis

Finding out how the control adapts in relation to its content Ocultar los detalles

<Result> = <Control Name>..AnchorToContent
<Result>: Integer constant
Adjustment mode currently used for the control:
atcAdaptInHeightWhen the control content changes, its height changes and it adapts to the new content.
atcAdaptInWidthWhen the control content changes, its width changes and it adapts to the new content.
atcNoneWhen the control content changes, the control is not resized.
<Control Name>: Character string (with or without quotes)
Name of control to use: Edit control, Static control, HTML control, Check box, Radio button, control template.

Modifying how the control adapts in relation to its content Ocultar los detalles

<Control Name>..AnchorToContent = <New Adjustement Mode>
<Control Name>: Character string (with or without quotes)
Name of control to use: Edit control, Static control, HTML control, Check box, Radio button, control template.
<New Adjustement Mode>: Integer constant
New adjustment mode used for the control:
atcAdaptInHeightWhen the control content changes, its height changes and it adapts to the new content.
atcAdaptInWidthWhen the control content changes, its width changes and it adapts to the new content.
atcNoneWhen the control content changes, the control is not resized.
Observaciones
  • If the control is anchored and included in a Layout control, the cell is enlarged in order for the control size to adapt according to its anchor.
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