|
-
Apr 18th, 2000, 10:00 AM
#1
Thread Starter
New Member
OK heres the deal
I have a project with 3 Custom Graphical activeX controls built in. Ok now the project is built around these controls The basic Idea is a "Mind Map" or brainstorming workspace. You create an "Idea" to which you can connect other "Ideas" to by way of "Branches" and "Relationships"
everything in quotes is the Objects
ok now basically this gets you to creat a picture that looks something like your teacher made you do in 3rd grade while writing an english paper.
To the point:
I need to be able to print out my main Draw Form which is a holder of these 3 objects and that is all it holds.
My current code for printing is as follows
Private Sub mnuFilePrint_Click()
Dim BeginPage, EndPage, NumCopies, Orientation, i
' Set Cancel to True.
PrintDialog.CancelError = True
On Error GoTo ErrHandler
' Display the Print dialog box.
PrintDialog.ShowPrinter
' Get user-selected values from the dialog box.
BeginPage = PrintDialog.FromPage
EndPage = PrintDialog.ToPage
NumCopies = PrintDialog.Copies
Orientation = PrintDialog.Orientation
For i = 1 To NumCopies
' Put code here to send data to your printer.
frmDraw.PrintForm
Next
Exit Sub
ErrHandler:
' User pressed Cancel button.
If Err = 482 Then
MsgBox "Printer error. Please check printer and try again.", vbOKOnly + vbExclamation
End If
Exit Sub
End Sub
Ok thats our print routine.
Now heres the problem -- It prints out differently on every printer weve tested it on.
mostly you will get a print out of the first instance of each visible object.
then nothing else even if you have 12 Ideas on the form only the first visible one shows up
The reason I emphasize visible is because To begin the control array of objects we set Idea(0) to invisible and then only count the first one and above.
Ok the more I go on about this The more I think its getting confusing Sorry for the confusion
If you are interested and feel you can help I can be reached at
[email protected]
ICQ 29829342
I am perfecty willing to send a copy of the project also I just need some help as soon as possible
Thanks for all the help
!Orion
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
|