Subject | Grid Navigation with VK_RETURN |
---|---|
Author | stahlberger@t-online.de |
Post date | 2001-11-26T07:46:32Z |
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
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