Page 1 of 1
Limiting datagid selection hilite
Posted: Mon Oct 05, 2015 2:40 am
by tasdvl9
Hello,
I'd like to limit the hilighting in my datagrid to only 2 selections.
Any ideas on how to do this?
Thanks.
Re: Limiting datagid selection hilite
Posted: Mon Oct 05, 2015 3:14 am
by dunbarx
Hi.
Do you mean limit to two lines? Or did you want to be able to select two fields?
If the former, you can use the "dgHilitedLines" property, and store and limit the selection history as it develops, perhaps deSelecting any lines that are "too old".
Craig Newman
Re: Limiting datagid selection hilite
Posted: Mon Oct 05, 2015 3:33 am
by tasdvl9
Thanks so much. I'll give that a go.