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
Returns the column's (real) column index.
Get
VB.NET | RealCol = object.RealPosition As Short |
VB | RealCol = object.RealPosition As Integer |
C#.NET | short RealCol = object.RealPosition; |
VC++ | short RealCol = object->RealPosition; short RealCol = object->GetRealPosition(); |
C | HRESULT object->get_RealPosition(short* RealCol); |
object
A SftDirectoryColumn object.
RealCol
Returns the column's (real) column index.
The RealPosition property returns the column's (real) column index.
As a user reorders columns, this is completely transparent to the application. An application still references columns by the "real" column number (see ColumnEntry property using a zero-based index) or column contents (see Column property, using a SftDirectoryContentsConstants value). While columns appear in a new order after dragging a column to a new position, the application references columns and cells by their real column number or column contents which never change.
If a user reorders columns using column drag & drop, the (display) column numbers, which is the column number as it appears to the user, may need to be translated into the real column number as used by an application.
See Also SftDirectoryColumn Object | Object Hierarchy