]> git.saurik.com Git - wxWidgets.git/commit - src/generic/grid.cpp
Make TAB behaviour in wxGrid more configurable.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Oct 2012 22:55:18 +0000 (22:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 13 Oct 2012 22:55:18 +0000 (22:55 +0000)
commit1dc17bcafb89b0bde0406e692df79111c197d38e
treea04e1046d338c6417fb83187881f03b36a7f4e46
parentac6a837eeddb76f2fabe2389cf5fe39ca3b99041
Make TAB behaviour in wxGrid more configurable.

Allow making TAB/Shift-TAB wrap to the next/previous row or going to the
next/previous control when the cursor is at the end/beginning of the current
row easily.

Also add wxEVT_GRID_TABBING event to allow customizing TAB behaviour even
further.

Update the sample to show the different possible standard behaviours and a
stupid example of a custom one (it would be probably more useful to implement
something a tad more realistic, e.g. tabbing to the next non-empty cell).

Closes #14711.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/generic/grid.h
interface/wx/grid.h
samples/grid/griddemo.cpp
samples/grid/griddemo.h
src/generic/grid.cpp