Posted 8 September 2017, 1:15 pm EST
I have a table that is locked/protected apart from a column containing a check box. The functionality I want is the whole row to be highlighted when the user clicks anywhere on that row, including the checkbox. I have tried to set the style of the table to select whole row, but where the user clicks always ends up with the activeCell contrast colour. Also, when the table is displayed initially, the top row is selected (although no activeCell is highlighted) which I don't want.
I set the sheet with these parameters
mySheet.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode
mySheet.SelectionBackColor = Color.AliceBlue
mySheet.SelectionStyle = FarPoint.Win.Spread.SelectionStyles.SelectionColors
mySheet.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.Single
mySheet.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row
if I set mySheet.OperationMode = FarPoint.Win.Spread.OperationMode.SingleSelect I get the look that I want but then I loose the ability to check/uncheck the checkbox on each row.
How can I get rid of the highlight of activeCell and how can I avoid the top row being selected with my selectionBackColor when I open the form???
Thanks for any help!