|
|
|
|
|
BottomIndent (Property) In french: RetraitBas
The BottomIndent property gets and sets the space at the bottom of the text (bottom margin) in a control. This property is available for: - Edit controls.
- Static controls.
Remark: This property is equivalent to setting the bottom margin: - For Static controls: the bottom margin is defined in the "Style" tab of the control description window ("Outside borders", "Margins", "Bottom margin").
- For an Edit control, the bottom margin is defined in the "Style" tab of the control description window ("Input area", "Margins", "Bottom margin").
// Define a margin equal to 4 pixels at the top and bottom of Static control STC_Date.BottomIndent = 4 STC_Date.TopIndent = 4
// Keep a 5-pixel margin at the top and bottom of the input area EDT_CarName.BottomIndent = 5 EDT_CarName.TopIndent = 5
Syntax
Getting the value of the bottom margin Hide the details
<Result> = <Control used>.BottomIndent
<Result>: Integer Number of pixels of the bottom margin. The indent is set to 0 pixels by default (no indent). <Control used>: Control name Name of the control used: - Static control,
- Edit control.
Changing the value of the bottom margin Hide the details
<Control used>.BottomIndent = <New value>
<Control used>: Control name Name of the control used: - Static control,
- Edit control.
<New value>: Integer New value for the bottom margin (in pixels). This value must be positive.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|