|
|
|
SftMaskCaption.SizePercent Property |
Defines the caption's relative width (left/right position).
Syntax
VB.NET |
Size = object.SizePercent As Short |
||
VB |
Size = object.SizePercent As Integer |
||
C#.NET |
short Size = object.SizePercent; |
||
VC++ |
short Size = object->SizePercent;
|
||
C |
HRESULT object->get_SizePercent(short* Size); |
||
Delphi |
Size := object.SizePercent : Smallint; |
||
VB.NET |
object.SizePercent = Size As Short |
||
VB |
object.SizePercent = Size As Integer |
||
C#.NET |
short object.SizePercent = Size; |
||
VC++ |
short object->SizePercent = Size;
|
||
C |
HRESULT object->put_SizePercent(short Size); |
||
Delphi |
object.SizePercent := Size : Smallint; |
object
A SftMaskCaption object.
Size
Defines the relative size of the caption area, expressed as a percentage of the overall size of the client area. Valid values are 0-100, where 0 indicates 0% of the client area (i.e. the caption area is hidden) and 100 indicates 100% of the client area (i.e., the caption area takes up the entire size of the control).
Comments
The SizePercent property defines the caption's relative width (left/right position).
The Caption.Width property can be used to define the caption's absolute width.
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.