Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Scrolling text box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 11 Jan 2006 03:54 GMT
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
Light - 11 Jan 2006 07:26 GMT
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
Daniel - 11 Jan 2006 22:32 GMT
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?

> 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
[quoted text clipped - 3 lines]
> http://www.ghostclip.com
> Premier Popup Notepad & Help System For Developers

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.