FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse\Header
Posts: 22
Joined: Fri May 04, 2012 03:26 PM
xbrowse\Header
Posted: Wed Jan 30, 2013 10:15 PM
Code (fw): Select all Collapse
oBrw:aCols[i]:bLClickHeader := {|nMRow, nMCol, nFlags, Self| nCol := ??????????, MsgAlert(nCol) }


how do I know the value of nMCol


I needed to know the column number which was given the click, without even being in focus

thank you

Luiz Fernando
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse\Header
Posted: Thu Jan 31, 2013 01:41 AM

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.

Regards



G. N. Rao.

Hyderabad, India
Posts: 22
Joined: Fri May 04, 2012 03:26 PM
Re: xbrowse\Header
Posted: Thu Jan 31, 2013 05:57 PM
nageswaragunupudi 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.


thanks for the reply form below worked


Code (fw): Select all Collapse
oBrw:aCols[i]:bLClickHeader := {|r,c,f,o| nCol := o:nCreationOrder , MsgAlert(nCol) }



Luiz Fernando

Continue the discussion