XBROWSE and VK_RETURN

XBROWSE and VK_RETURN

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: XBROWSE and VK_RETURN

Postby nageswaragunupudi » Wed Mar 20, 2019 3: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
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 98 guests