Spread Windows Forms 8.0 Product Documentation > Developer's Guide > Customizing Sheet Interaction > Customizing User Selection of Data > Hiding the Selection When Focus is Lost |
By default, the Spread component displays the focus rectangle and highlights selections, regardless of whether the component has the focus. If you prefer, you can set the component to hide the focus rectangle and selection highlighting when the component does not have the focus. In this case, the component still displays the focus and highlight selections when the component regains the focus. (This does not apply when EditModePermanent is set to True, in which case the focus rectangle and selection highlighting are not displayed.) For more information refer to the RetainSelectionBlock property of the FpSpread class.
You can specify that edit mode is always on in the spreadsheet. When edit mode is always on, the spreadsheet acts like a form, where the user can enter data in any data field and the focus rectangle is not displayed. Only a blinking I-bar is displayed in a cell to show the cursor. For more information refer to the EditModePermanent property of the FpSpread class.
For more information about the focus indicator, refer to Customizing the Focus Indicator for a Cell.