Page 1 of 1

Edit and Richedit

Posted: Wed Jun 24, 2009 12:43 am
by albert
How do you get the text from the controls?

I need to return text from the edit and richedit controls to process and alter the text and reinsert it.

Edit and Richedit

Posted: Wed Jun 24, 2009 7:23 am
by fred
Edit has a Text property so Edit.Text should work.

RichEdit has also a Text property for all the text in the control and has a Line(index) property for addressing each line, see also LineCount.

Edit and Richedit

Posted: Wed Jun 24, 2009 5:10 pm
by albert
Thanks i got it working

i posted the source code on the Files page
its called Silly-Cypher version 1.0

"secret message cypher" is the post.