|
|
|
|
|
The TopIndent property gets and sets the space at the top of the text (top margin) in a control. This property is available on: - Edit controls.
- Static Text controls.
Note This property is equivalent to the definition of high margin: - For the Static Text control: the top margin is defined in the "Style" tab of the field description window ("Outer frame" item, "Margins" button, "Top margin" option).
- For an Edit control, the top margin is defined in the "Style" tab of the control description window ("Input area", "Margins", "Top margin").
STC_Date.BottomIndent = 4
STC_Date.TopIndent = 4
EDT_CarName.BottomIndent = 5
EDT_CarName.TopIndent = 5
Sintaxis
Getting the value of the top margin in a control Ocultar los detalles
<Result> = <Control used>.TopIndent
<Result>: Integer Number of pixels used for the margin at the top of the text. The indent is set to 0 pixels by default (no indent). <Control used>: Control name Name of field manipulated: - Static control,
- Edit control.
Changing the value of the top margin in a control Ocultar los detalles
<Control used>.TopIndent = <New value>
<Control used>: Control name Name of field manipulated: - Static control,
- Edit control.
<New value>: Integer New value for the margin at the top of the text (ien pixels). This value must be positive.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|