Objective Grid: Disabling cell-range selection

Article ID: 700
Last updated: 11 Jun, 2018
Article ID: 700
Last updated: 11 Jun, 2018
Revision: 3
Views: 1668
Posted: 23 Jan, 2001
by Meltreger B.
Updated: 11 Jun, 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: 700
Last updated: 11 Jun, 2018
Revision: 3
Views: 1668
Posted: 23 Jan, 2001 by Meltreger B.
Updated: 11 Jun, 2018 by Meltreger B.

Others in this category