|
|
|
|
|
TopIndent (Property) In french: RetraitHaut
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").
LIB_Date.RetraitBas = 4
LIB_Date.RetraitHaut = 4
SAI_NomVoiture.RetraitBas = 5
SAI_NomVoiture.RetraitHaut = 5
Syntax
Getting the value of the top margin in a control Hide the details
<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 Hide the details
<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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|