Page 1 of 1

XBROWSE and VK_RETURN

Posted: Wed Mar 20, 2019 10:04 am
by byte-one
Mr. Rao!
If i focused on a xbrowse then the default pushbutton are not fired. Only the horiz. scroll is moving.

Re: XBROWSE and VK_RETURN

Posted: Wed Mar 20, 2019 3:13 pm
by nageswaragunupudi
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.