Jack wrote:oBrw:nColSel
o:nCreationOrder
o:nAtcol(y)
Marc Vanzegbroeck wrote:Do you mean
- Code: Select all Expand view RUN
o:nAtcol(y)
Jack wrote:o:nCreationOrder
Enrico Maria Giordano wrote:How to get the position of the selected column in XBrowse?
EMG
oSelectedCol := oBrw:SelectedCol()
nAt := AScan( oBrw:aCols, { |o| o:nCreationOrder == oSelectedCol:nCreationOrder } )
nAt := oBrw:aDisplay[ oBrw:nColSel ]
nageswaragunupudi wrote:But I am curious to know what is the use of this information in an application?
Enrico Maria Giordano wrote:I spoke too fast. What I really need is to know the position of the currently selected column starting from the first column. nCreationOrder is a sort of column id. nPos is the position starting from the first visible column not from the first column.
Any help?
EMG
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 56 guests