Objective Grid: Unselecting rows with the mouse

Article ID: 704
Last updated: 11 Jun, 2018
Article ID: 704
Last updated: 11 Jun, 2018
Revision: 3
Views: 1768
Posted: 23 Jan, 2001
by Meltreger B.
Updated: 11 Jun, 2018
by Meltreger B.

Problem


How can the user unselect rows with the mouse?


Cause



Action


Press CTRL and click on the row header to unmark the row.

If you want to extend the behavior so that the row is unmarked when you click in any cell of the row you should override OnLButtonClickedRowCol ().

It should be fine to copy/paste the implementation in gxcorcur.cpp to your override and remove the

nCol <= GetHeaderCols()

statement.

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

Others in this category