FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBROWSE and VK_RETURN
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
XBROWSE and VK_RETURN
Posted: Wed Mar 20, 2019 10:04 AM

Mr. Rao!
If i focused on a xbrowse then the default pushbutton are not fired. Only the horiz. scroll is moving.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBROWSE and VK_RETURN
Posted: Wed Mar 20, 2019 03:13 PM

XBrowse handles VK_RETURN, when the browse has focus.

If the cell is editable, pressing enter key triggers edit and otherwise the cursor moves to next column. This has been the behaviour of pressing enter key when XBrowse has focus.

If the programmer wants to have different behaviour, then he may do so, by defining a codeblock for oBrw:bKeyChar.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion