DataColumn.VisualPos Property | |
Returns the number of the data column with respect to its visual position within a data browser from left to right.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL PROPERTY VisualPos AS USUAL GET
public virtual Usual VisualPos { get; }
Request Example
View SourceProperty Value
Type:
UsualThe number of the data column with respect to its visual position within a data browser from left to right.
Examples
The following example shows how DataColumn:VisualPos may be used to save the current layout of a browser to an .INI file:
1METHOD SaveLayout() CLASS MySubForm
2LOCAL wCount AS DWORD
3LOCAL aColumnInfo := {} AS ARRAY
4LOCAL oDataColumn AS DataColumn
5FOR wCount := 1 UPTO SELF:Browser:ColumnCount
6oDataColumn := SELF:Browser:GetColumn( wCount )
7AADD( aColumnInfo, {oDataColumn:NameSym, oDataColumn:VisualPos} )
8NEXT wCount
9SaveSettings( aColumnInfo )
10RETURN NIL
See Also