Objective Grid: Disabling cell-range selection

Article ID: 562
Last updated: 16 Apr, 2018
Article ID: 562
Last updated: 16 Apr, 2018
Revision: 3
Views: 1746
Posted: 09 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


How can I turn off the selection of ranges so that only one cell can be selected at a time?


Cause



Action


Call:

GetParam()->EnableSelection(FALSE);

This disables selecting ranges of cells. Only the current cell will then be outlined. You can determine the current cells coordinates with GetCurrentCell(nRow, nCol).

FYI, When a new cell is selected, OnMovedCurrentCell() is called.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 562
Last updated: 16 Apr, 2018
Revision: 3
Views: 1746
Posted: 09 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category