HideSelection
This property determines whether selected text remains highlighted when focus moves to another control. The default is for the highlight to disappear when focus changes. Usage | oObject.HideSelection = lHideIt lHideIt = oObject.HideSelection |
HideSelection doesn't affect spinners at all. That's because spinners don't remember their selection properly as soon as they lose focus. See SelLength for the details on this bug. |
Example | ThisForm.Edit1.HideSelection = .F. |
See Also | ComboBox, EditBox, SelLength, SelStart, SelText, Spinner, TextBox |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.