Objective Grid: Controlling cell focus

Article ID: 73
Last updated: 22 Jun, 2018
Article ID: 73
Last updated: 22 Jun, 2018
Revision: 3
Views: 2427
Posted: 11 Jan, 2001
by Meltreger B.
Updated: 22 Jun, 2018
by Meltreger B.

Problem


When the user clicks in a specific cell, I want the focus to be automatically moved to the neighboring cell. How can I do this?


Cause



Action


You might override SetCurrentCell(), check the nCol parameter and then call the base class version of SetCurrentCell() with the modified nCol.

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

Others in this category