borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (current Y and current Y locations)Next Topic (batch printing pdf's) New Topic New Poll Post Reply
AndreaVB Forum : Printing : printing text boxes,etc
Poster Message
Filbert
Level: Guest


icon printing text boxes,etc

i'm needing to print textboxes,with shaded backgrounds (different color on the Backcolor prop)  i cant get the backcolor to print, i only get the text.  PLEASE could anyone help?   

19-11-2002 at 05:02 AM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: printing text boxes,etc

okay...

tell me the settings of your form and text box.

why? i just tried to print a form with a textbox in it, and it worked. i got to print the gray background of the text box.

the form's autoredraw property = true

try it or post back. we'll try to help you if this doesn't work.

____________________________
Been busy trying to take a second degree <--it's not working out...

20-11-2002 at 07:14 PM
View Profile Send Email to User Show All Posts | Quote Reply
Filbert
Level: Guest

icon Re: printing text boxes,etc

Sorry for being so long getting back...I dont mean PrintForm...I have a picturebox on a form...like a sheet of paper with textboxes placed on it.  The textboxes display info generated by my program...like a form.  PrintForm prints text really crappie, so i've been trying to print with the PrintObject.  But you cant print controls with the PrintObject.  So i've resorted to re-creating all of my "page's" shapes, textboxes etc. with graphics methods.  Needless to say, this is fairly time consuming.  I've managed to write a function that will re-create all of this, but i was wondering if there was a way to print my Picturebox that has all of those controls aready placed onto it.  The Picturebox.Picture = Picturebox.Image doesnt show controls, only graphics created with graphics methods...no controls.  Any ideas?

               Thanks for your previous reply.

                         Filbert

[Edited by admin on 21-12-2002 at 01:43 PM GMT]

21-12-2002 at 12:10 AM
| Quote Reply
Filbert
Level: Guest

icon Re: printing text boxes,etc

Something goofed up when i wrote this bit o' code...Picturebox.Picture = Picturebox.image...
This is the call i was refering to up in my main reply...
                      Filbert

                        

[Edited by admin on 21-12-2002 at 01:42 PM GMT]

21-12-2002 at 12:13 AM
| Quote Reply
AndreaVB Forum : Printing : printing text boxes,etc
Previous Topic (current Y and current Y locations)Next Topic (batch printing pdf's) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder