Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectoryColumn.RealPosition Property

Returns the column's (real) column index.

Syntax

Get

VB.NETRealCol = object.RealPosition As Short
VBRealCol = object.RealPosition As Integer
C#.NETshort RealCol = object.RealPosition;
VC++short RealCol = object->RealPosition;
short RealCol = object->GetRealPosition();
CHRESULT object->get_RealPosition(short* RealCol);

object

A SftDirectoryColumn object.

RealCol

Returns the column's (real) column index.

Comments

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.