How to trap key in xBrowse?

How to trap key in xBrowse?

Postby hua » Fri May 22, 2009 3:44 am

At specific column(s), I want to test for VK_F2 so I can invoke a picklist.

How do I test for it such that it work whether or not user is editing at the time it's pressed?

TIA
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: How to trap key in xBrowse?

Postby nageswaragunupudi » Fri May 22, 2009 5:05 am

bKeyDown
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: How to trap key in xBrowse?

Postby hua » Sun May 24, 2009 10:56 am

Thanks Mr Rao. How do we determine which column are we currently at?
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: How to trap key in xBrowse?

Postby nageswaragunupudi » Sun May 24, 2009 2:12 pm

oBrw:SelectedCol() returns the column object that is selected.

oBrw:SelectedCol():nCreationOrder gives the column number at the time of creation.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: How to trap key in xBrowse?

Postby hua » Mon May 25, 2009 4:32 am

Thanks again Rao :)
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 89 guests