Scrolling text box

G

Guest

I'm trying to make a commandline type text box using a RichTextBox.

I currently have it to the state where formating scrolling works so that I
can highlight text (this just uses the SelectionStart, SelectionLength, and
SelectionColor properties).
However when I try and remove text from the textbox all my formating is
trashed. Is there any way of removing text from a text box and keeping the
formating on the text, or saving the formating and reapplying it after
removal?

Thanks
 
L

Light

I'm not sure that I understand your question. You can use the copy()
and paste() to move text with formating. You can also use the
SelectedRtf property to get the text with the formatting codes. Hope
it helps.
Curtis
http://www.ghostclip.com
Premier Popup Notepad & Help System For Developers
 
G

Guest

I have tryed the Copy and Paste idea. The problem I had with that solution
was when the applcation is running it screws your ClipBoard. For example,
when someone trys to copy something it gets overwriten by the text that my
application is copying when the user trys to paste their text they get crap
from my application.
Then people say to me your application screws my clipboard >| !!!
And I say oh crap :(

Thanks for the sugestion though
any other ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top