# XTF2\_NAVCOL

> [HTML Version](xtf2_navcol.htm)

The [XTF2\_HOME\_CTRL and \_END\_CTRL](xtf2_home_ctrl.md) flags, when used in an editable tree where XTF\_HOME and/or XTF\_END are not set, allows Home and End to, in some types of editable cells, navigate to the first / last editable cell on the current line. By "some types" we mean essentially any kind of editable cell except one that allows you to directly edit the contents of (i.e. a standard editable text cell), since in the latter case, Home and End are captured by the edit box itself to move the cursor to the beginning and ending of the cell, rather than to move between cells. But for checkboxes, radio buttons, read-only cells, etc., these new keys provided yet another navigational shortcut for power users.

Note that for convenience and perhaps clarity, a symbol has been defined in [ashinc:xtree.def](https://bitbucket.org/microsabio/soslib/src/default/907016/xtree.def):

define XTF2\_NAVCOL = \&h00000003  \! (XTF2\_HOME\_CTRL+XTF2\_END\_CTRL)

Also note that these flags have no effect in non-editable situations, provided the keys are not enabled as exit keys (via XTF\_HOME / XTF\_END). If they are enabled as exit keys, then the XTF2\_NAVCOL flags reverse the action of the simple keys and the keys with Ctrl+. In other words, when set, Ctrl+Home will navigate to the first row, while Home will exit; otherwise, Ctrl+Home exits and Home navigates.