|
|
|
|
|
AnchorToContent (Property)
The AnchorToContent property determines and changes how the control adapts to its 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:
| | atcAdaptInHeight | When the control content changes, it adapts to the new content vertically. | atcAdaptInWidth | When the control content changes, it adapts to the new content horizontally. | atcNone | When 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.
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. <New adjustment mode>: Integer constant New adjustment mode used for the control:
| | atcAdaptInHeight | When the control content changes, it adapts to the new content vertically. | atcAdaptInWidth | When the control content changes, it adapts to the new content horizontally. | atcNone | When 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.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|