XBrowse and EDIT_GET_LISTBOX

XBrowse and EDIT_GET_LISTBOX

Postby David Williams » Mon Aug 05, 2013 2:52 pm

Hi,

Is it possible to assign a key stroke on a column EDIT_GET_LISTBOX instead of using the mouse? I have converted many of my tsbrowse's, where I used F2's to show a list box drop down, to xbrowse and I want to avoid using a mouse click.

Any help would be appreciated.

TIA
David
User avatar
David Williams
 
Posts: 82
Joined: Fri Mar 03, 2006 6:26 pm
Location: Ireland

Re: XBrowse and EDIT_GET_LISTBOX

Postby nageswaragunupudi » Tue Aug 06, 2013 12:54 am

Please try
Code: Select all  Expand view
oBrw:bKeyDown := { |nKey| If( nKey == VK_F2 .and. oBrw:SelectedCol():nEditType == EDIT_GET_LISTBOX, oBrw:SelectedCol():ShowBtnList(), nil ) }
Regards

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

Re: XBrowse and EDIT_GET_LISTBOX

Postby David Williams » Tue Aug 06, 2013 10:04 am

Just perfect :D

Thanks Rao, or is it G.N?

David
User avatar
David Williams
 
Posts: 82
Joined: Fri Mar 03, 2006 6:26 pm
Location: Ireland


Return to FiveWin for Harbour/xHarbour

Who is online

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