|
Thread: Rtb
-
Sep 27th, 2006, 11:37 PM
#1
Thread Starter
PowerPoster
Rtb
having some trouble
I have 1 main RTB
I have another small RTB
I have several other plain textboxes
I want everything to be appended into the 1 main RTB. Trouble is, I want to keep the formatting when copying from the 1 small RTB into the main RTB but its not working.
I've tried to append text to the main RTB for each control then when I Get to the mini RTB control, I append it to the main RTB, select that text, change the font to underlined, then continue on but makes everything underlined....
any ideas how to accomplish this task?
so I only want a specific portion of the main RTB the same formatting as the mini RTB
-
Sep 27th, 2006, 11:45 PM
#2
Thread Starter
PowerPoster
Re: Rtb
actually I think I got it....
-
Sep 28th, 2006, 12:16 AM
#3
Re: Rtb
If you haven't done this already you would place the insertion point at the end of the text, or wherever you wanted the new text inserted, then do something like this:
VB Code:
bigRtb.SelectedRtf = littleRtb.Rtf;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|