XBROWSE and VK_RETURN

Post Reply
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

XBROWSE and VK_RETURN

Post by byte-one »

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
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: XBROWSE and VK_RETURN

Post 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.
Regards

G. N. Rao.
Hyderabad, India
Post Reply