SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the control's alignment during resizing.
Get
VB.NET | Align = object.ControlAlign As SftBoxControlAlignConstants |
VB | Align = object.ControlAlign As SftBoxControlAlignConstants |
C#.NET | SftBoxControlAlignConstants Align = object.ControlAlign; |
VC++ | enum SftBoxControlAlignConstants Align = object->ControlAlign; enum SftBoxControlAlignConstants Align = object->GetControlAlign(); |
C | HRESULT object->get_ControlAlign(enum SftBoxControlAlignConstants* Align); |
Put
VB.NET | object.ControlAlign = Align As SftBoxControlAlignConstants |
VB | object.ControlAlign = Align As SftBoxControlAlignConstants |
C#.NET | SftBoxControlAlignConstants object.ControlAlign = Align; |
VC++ | enum SftBoxControlAlignConstants object->ControlAlign = Align; void object->PutControlAlign(enum SftBoxControlAlignConstants Align); |
C | HRESULT object->put_ControlAlign(enum SftBoxControlAlignConstants Align); |
object
Align
Defines the control alignment during resizing of the control.
Align | Value | Description |
---|---|---|
controlAlignSftBoxTop | 0 | Keeps the top edge at the same location when the control resizes itself. |
controlAlignSftBoxCenter | 1 | Keeps the center of the control at the same location when the control resizes itself. |
controlAlignSftBoxBottom | 2 | Keeps the bottom edge at the same location when the control resizes itself. |
The ControlAlign property defines the control's alignment during resizing.
The control can resize itself for a number of reasons. For example, when variable height items are used the control's height varies. If column headers are enabled or disabled dynamically, the control's height also needs to be adjusted. When the control is resized, the ControlAlign property determines how the control is aligned after its new size is determined.
See Also SftBox Object | Object Hierarchy