property Edit.SelForeColor as Color
Specifies the selection's foreground color.

 TypeDescription 
   Color A color expression that specifies the selection's foreground color.  

Use the SelForeColor and SelBackColor properties to define the colors used to paint the selection. Use the DisplaySelection to hide 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. Use the HideSelection property to specify whether the control hides the selection when the control loses the focus. The control fires the SelChange event when user changes the selection.


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