property Edit.DisplaySelection as Boolean
Specifies whether the control displays the selection.

 TypeDescription 
   Boolean A boolean expression that indicates whether the selection is visible or hidden.  

Use the DisplaySelection property to hide the selection. Use the HideSelection property to hide selection when control loses the focus. Use the SelForeColor and SelBackColor properties to define the colors used to paint the selection. Use the SelStart, SelLength and SelText properties to access the selection. Use the GetSelection method to determine the coordinates of the selected text. Use the SetSelection method to select a text giving the end and start coordinates.


Send comments on this topic.
© 1999-2008 Exontrol Inc, Software. All rights reserved.