|
|
|
SftMaskCaption.Position Property |
Defines the caption's position.
Syntax
VB.NET |
Pos = object.Position As SftMaskPositionConstants |
||
VB |
Pos = object.Position As SftMaskPositionConstants |
||
C#.NET |
SftMaskPositionConstants Pos = object.Position; |
||
VC++ |
enum SftMaskPositionConstants Pos = object->Position;
|
||
C |
HRESULT object->get_Position(enum SftMaskPositionConstants* Pos); |
||
Delphi |
Pos := object.Position : TOleEnum; |
||
VB.NET |
object.Position = Pos As SftMaskPositionConstants |
||
VB |
object.Position = Pos As SftMaskPositionConstants |
||
C#.NET |
SftMaskPositionConstants object.Position = Pos; |
||
VC++ |
enum SftMaskPositionConstants object->Position = Pos;
|
||
C |
HRESULT object->put_Position(enum SftMaskPositionConstants Pos); |
||
Delphi |
object.Position := Pos : TOleEnum; |
object
A SftMaskCaption object.
Pos
Defines the position of the built-in caption.
Pos |
Value |
Description |
0 |
The caption is located to the left of the edit control. |
|
1 |
The caption is located above the edit control. |
|
2 |
The caption is located to the right of the edit control. |
|
3 |
The caption is located below the edit control. |
Comments
The Position property defines the caption's position.
The size of the caption area is determined by the SizePercent and the AutoSize properties.
The caption area can be hidden by setting the Position property to positionSftMaskLeft or positionSftMaskRight and the Caption.SizePercent property to 0.
The caption area position and size are defined using a combination of the Caption.SizePercent or Caption.Width, Caption.Position and AutoSize properties. For a detailed description of the various combinations, please see the chapter Built-In Caption.