Page 1 of 1

notepad

Posted: Sun Nov 20, 2011 5:20 pm
by iCode
you need 5 buttons and 1 richtextbox

name buttons:

Cut, Copy, Paste, Select all, clear

put codes:

cut, richtextbox1.cut()
copy, richtextbox1.copy()
paste, richctextbox1.paste()
selectall, richtextbox1.SelectAll()
clear, richtextbox1.clear()

Thank you
make sure if you use textbox to make it multiline. all credits go to EnviromentNerd at youtube.

Re: notepad

Posted: Sun Nov 20, 2011 5:36 pm
by Coolblade
Thanks I knew but you are new

Re: notepad

Posted: Sun Nov 20, 2011 8:47 pm
by mandai
What do you mean by that?

Re: notepad

Posted: Sun Nov 20, 2011 8:51 pm
by Coolblade
I knew how to make it but good for first post

Re: notepad

Posted: Sun Nov 20, 2011 8:57 pm
by comathi
Coolblade, if you knew how to make it, then you did not need to comment. Not everyone is at the same level of coding here, and what might be known and mastered by some, can be a heck of a lot difficult to others. Please try to ommit posting useless comments.

iCode, great first tut, it shows how fast you are learning to code :D