Code: Select all
oBrw:aCols[i]:bLClickHeader := {|nMRow, nMCol, nFlags, Self| nCol := ??????????, MsgAlert(nCol) }
I needed to know the column number which was given the click, without even being in focus
thank you
Luiz Fernando
Code: Select all
oBrw:aCols[i]:bLClickHeader := {|nMRow, nMCol, nFlags, Self| nCol := ??????????, MsgAlert(nCol) }
thanks for the reply form below workednageswaragunupudi wrote:Fourth parameter is the column object.
oCol:nCreationOrder gives the serial number of the column while creating the browse.
While programming with xbrowse it is normally advisable to use the column objects instead of numbers.
Code: Select all
oBrw:aCols[i]:bLClickHeader := {|r,c,f,o| nCol := o:nCreationOrder , MsgAlert(nCol) }