In the above example, assume we want to deal with the 'Quantity' column, which is the 3rd column at the time of creation, we can find the column object in the following ways, whatever be the position at runtime and whether hidden or not:
Once we get the column object we want, then:
Now, please explain what are you trying to do but having problems/confusion.
oCol := oBrw:oCol( 3 ) --> Quantity column object, which is the 3rd column at the time of creation.
oCol := oBrw:oCol( "Quantity" ) --> Quantity column object, whose header is "Quantity"
oCol := oBrw:Quantity --> Same as aboveOnce we get the column object we want, then:
oCol:lHide --> Whether the column is hidden or not
oCol:nPos --> Visible column number at runtime if not hiddenNow, please explain what are you trying to do but having problems/confusion.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
