Objective Grid: Maintaining the cursor position as a cell loses and regains focus

Article ID: 102
Last updated: 22 Jun, 2018
Article ID: 102
Last updated: 22 Jun, 2018
Revision: 3
Views: 2109
Posted: 12 Jan, 2001
by Meltreger B.
Updated: 22 Jun, 2018
by Meltreger B.

Problem


What do I need to set in order to have my grid keep the cursor position ( within the cell ) as it loses and regains focus?


Cause



Action


There is a flag:

m_bLockActivateGrid

If you set this flag, the grid will never be deactivated / activated when the grid looses / receives focus. Also take a look at OnActivateGrid(). This function is called from KillFocus().

This article was:   Helpful | Not helpful
Report an issue
Article ID: 102
Last updated: 22 Jun, 2018
Revision: 3
Views: 2109
Posted: 12 Jan, 2001 by Meltreger B.
Updated: 22 Jun, 2018 by Meltreger B.

Others in this category