property Edit.CaretLine as Long
Specifies the line of caret.

 TypeDescription 
   Long A long expression that defines the caret's line.  

Use the CaretLine and CaretPos properties to determine the caret's position. The CaretLine property is 1-based. The index for the first line in the control's text is 1. Use the TextLine property to get the line based on its index. Use the DeleteLine method to delete a line given its index. Use the CaretPosX and CaretPosY properties to get the pixels coordinates of the control's caret relative to the control's client area. The BackColorCaretLine property returns or sets the background color used to display the cursor line. Use the ClientToCursor property to determine the line from cursor. Use the Bookmark property to bookmark a line.

 


Send comments on this topic.
1999-2016 Exontrol.COM, Software. All rights reserved.