|
-
May 30th, 2001, 10:25 AM
#1
Thread Starter
Hyperactive Member
RichTexBox Printing
Hi,
Last time I asked maybe nobody understood my question well and I get not this answer I needed. Sorry for my English.
I'll try again:
I have six rich text boxes.
I all of them are text and ole objects.
.PrintRTF prints only one rich text box.
How to combine them all and then print.
I'm making testing program for school.
In firs rich text box are question, in other - answers.
In the page must look like this:
Question Nr.1
Text.....Picture....Ole object and other (this is content of richtextbox1)
Answers:
richtextbox2 content
richtextbox3 content
richtextbox4 content
richtextbox5 content
richtextbox6 content
Question Nr.2
...
...
...
How to make it?
Please help me.
-
May 30th, 2001, 10:58 AM
#2
Re: RichTexBox Printing
Originally posted by Norkis
Hi,
Last time I asked maybe nobody understood my question well and I get not this answer I needed. Sorry for my English.
I'll try again:
I have six rich text boxes.
I all of them are text and ole objects.
.PrintRTF prints only one rich text box.
How to combine them all and then print.
I'm making testing program for school.
In firs rich text box are question, in other - answers.
In the page must look like this:
Question Nr.1
Text.....Picture....Ole object and other (this is content of richtextbox1)
Answers:
richtextbox2 content
richtextbox3 content
richtextbox4 content
richtextbox5 content
richtextbox6 content
Question Nr.2
...
...
...
How to make it?
Please help me.
Create Hidden richtextbox7 somewhere on form.
Code:
richtextbox7.text = richtextbox1.text & vbcrlf & richtextbox2.text & _
vbcrlf & richtextbox3.text & vbcrlf _
& richtextbox4.text & vbcrlf & richtextbox5.text _
& vbcrlf & richtextbox6.text
richtextbox7.printRTF
-
May 31st, 2001, 12:56 PM
#3
Thread Starter
Hyperactive Member
this works only then in richttextbox'es are only text, but what to do then there are not only the plain text, but and ole objects ?
-
May 31st, 2001, 01:23 PM
#4
Originally posted by Norkis
this works only then in richttextbox'es are only text, but what to do then there are not only the plain text, but and ole objects ?
Try to use .TextRTF everywhere where it says .Text
-
Jun 1st, 2001, 10:50 AM
#5
Thread Starter
Hyperactive Member
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
|