FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBrowse and EDIT_GET_LISTBOX
Posts: 82
Joined: Fri Mar 03, 2006 06:26 PM
XBrowse and EDIT_GET_LISTBOX
Posted: Mon Aug 05, 2013 02: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

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBrowse and EDIT_GET_LISTBOX
Posted: Tue Aug 06, 2013 12:54 AM
Please try
Code (fw): Select all Collapse
oBrw:bKeyDown := { |nKey| If( nKey == VK_F2 .and. oBrw:SelectedCol():nEditType == EDIT_GET_LISTBOX, oBrw:SelectedCol():ShowBtnList(), nil ) }
Regards



G. N. Rao.

Hyderabad, India
Posts: 82
Joined: Fri Mar 03, 2006 06:26 PM
Re: XBrowse and EDIT_GET_LISTBOX
Posted: Tue Aug 06, 2013 10:04 AM

Just perfect :D

Thanks Rao, or is it G.N?

David

Continue the discussion