xbrowse\Header

xbrowse\Header

Postby Luisão PITBULL » Wed Jan 30, 2013 10:15 pm

Code: Select all  Expand view
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
Luisão PITBULL
 
Posts: 22
Joined: Fri May 04, 2012 3:26 pm

Re: xbrowse\Header

Postby nageswaragunupudi » Thu Jan 31, 2013 1: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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse\Header

Postby Luisão PITBULL » Thu Jan 31, 2013 5: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: Select all  Expand view
oBrw:aCols[i]:bLClickHeader := {|r,c,f,o| nCol := o:nCreationOrder , MsgAlert(nCol) }



Luiz Fernando
Luisão PITBULL
 
Posts: 22
Joined: Fri May 04, 2012 3:26 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests