Subject Re: [IBO] Grid Navigation with VK_RETURN
Author Jason Wharton
Look in the source for how the TAB key handling was implemented.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <stahlberger@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, November 26, 2001 12:46 AM
Subject: [IBO] Grid Navigation with VK_RETURN


> Hi,
> what is the best way to focus the next column in a IB_GRID after pressing
Enter?
> If i use this in grid.onkeypress, and the next column is a ib_lookup then
one extra keypress must be
> done to focus this ib_lookup
>
> if ord(key) = VK_RETURN then
> begin
> if grid.col < grid.Gridfieldcount then grid.col := grid.col + 1
> ...
> ...
>
> Greetings Christian