PyCEdit Object

A windows edit control. Encapsulates an MFC CEdit class. Derived from a PyCControl object.

Methods

CreateWindow
Creates the window for a new edit object. 

Clear
Clears all text from an edit control. 

Copy
Copy the selection to the clipboard. 

Cut
Cut the selection, and place it in the clipboard. 

FmtLines
Change the formatting options for the edit control 

GetFirstVisibleLine
Returns zero-based index of the topmost visible line. 

GetSel
Returns the selection. 

GetLine
Returns a specified line. 

GetLineCount
Returns the number of lines in an edit control. 

LimitText
Sets max length of text that user can enter 

LineFromChar
Returns the line number of a given character. 

LineIndex
Returns the line index 

LineScroll
Scroll the control vertically and horizontally 

Paste
Pastes the contents of the clipboard into the edit control. 

ReplaceSel
Replace the selection with the specified text. 

SetReadOnly
Set the read only status of an edit control. 

SetSel
Changes the selection in an edit control. sentinel