|
|
|
SftMask.Alignment Property |
Defines the text alignment.
Syntax
VB.NET |
Align = object.Alignment As SftMaskAlignConstants |
||
VB |
Align = object.Alignment As SftMaskAlignConstants |
||
C#.NET |
SftMaskAlignConstants Align = object.Alignment; |
||
VC++ |
enum SftMaskAlignConstants Align = object->Alignment;
|
||
C |
HRESULT object->get_Alignment(enum SftMaskAlignConstants* Align); |
||
Delphi |
Align := object.Alignment : TOleEnum; |
||
VB.NET |
object.Alignment = Align As SftMaskAlignConstants |
||
VB |
object.Alignment = Align As SftMaskAlignConstants |
||
C#.NET |
SftMaskAlignConstants object.Alignment = Align; |
||
VC++ |
enum SftMaskAlignConstants object->Alignment = Align;
|
||
C |
HRESULT object->put_Alignment(enum SftMaskAlignConstants Align); |
||
Delphi |
object.Alignment := Align : TOleEnum; |
object
A SftMask object.
Align
Defines the text alignment.
Align |
Value |
Description |
0 |
The text in the edit control is left adjusted. |
|
1 |
The text in the edit control is left adjusted if the control has the input focus. The text is centered only if the control does not have the input focus. |
|
2 |
The text in the edit control is right adjusted. |
Comments
The Alignment property defines the text alignment.
The Alignment property defines the horizontal text alignment of the edit control. It applies to the contents of the edit control (Text and FormattedText properties).
The caption's alignment is defined using the Caption.Alignment property.