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<FONT size=2>
<FONT color=#000080>mySheet.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode </FONT>
</FONT><FONT size=2><FONT color=#000080>mySheet.SelectionBackColor = <FONT size=2>Color.AliceBlue</FONT></FONT></FONT>
<FONT size=2><FONT color=#000080>mySheet.SelectionStyle = FarPoint.Win.Spread.SelectionStyles.SelectionColors</FONT>
<FONT color=#000080>mySheet.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.Single</FONT>
<FONT color=#000080>mySheet.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row</FONT>
<FONT size=3>if I set</FONT> <FONT color=#000080>mySheet.OperationMode = FarPoint.Win.Spread.OperationMode.<FONT>SingleSelect</FONT></FONT><FONT> </FONT><FONT size=3>I</FONT><FONT size=2> get the look that I want but then I loose the ability to check/uncheck the checkbox on each row. </FONT>
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!</FONT>