Objective Grid: Preventing current cell deactivation during user selections

Article ID: 675
Last updated: 11 Apr, 2018
Article ID: 675
Last updated: 11 Apr, 2018
Revision: 3
Views: 1658
Posted: 23 Jan, 2001
by Meltreger B.
Updated: 11 Apr, 2018
by Meltreger B.

Problem


Is there any way to make the selection mechanism work visually only? In other words, I want the end-user to be able to make selections but not deactivate the current active cell.


Cause



Action


Override OnLButtonHitRowCol( ). This method is responsible for moving the current cell to the new position and calls the new control's LButtonDown( ), MouseMove( ) and LButtonUp( ) methods. If you override this method, you can skip these steps and your active cell will not be deactivated.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 675
Last updated: 11 Apr, 2018
Revision: 3
Views: 1658
Posted: 23 Jan, 2001 by Meltreger B.
Updated: 11 Apr, 2018 by Meltreger B.

Others in this category