|
-
Aug 31st, 2000, 01:33 PM
#1
Thread Starter
Member
I have 2 frames. Frame1 is a button bar, frame2 has some graphics. I want to click the print button in frame1 to print the graphics, etc. on frame2. Right now the onClick event of the Frame1 button calls Print() but that only prints the contents of the current frame, frame1.
If I could only remember my name...
-
Sep 4th, 2000, 01:12 AM
#2
New Member
Yo,
You need to play with 2 things:
- the focus
the frame you want to print needs to have the focus
but in order to give the focus, you
- need to use a timer
something like window.setTimeout("parent.Pictures.DoPrint();", 1);
Greetings,
-
Sep 4th, 2000, 12:54 PM
#3
Thread Starter
Member
Hey Kris, thanks a lot. You're on the money. I got it to go by doing calling this sub from frame1
Sub PrintDiagram()
parent.frames.frame2.Focus
Print()
End Sub ' PrintDiagram()
David
If I could only remember my name...
-
Sep 4th, 2000, 11:41 PM
#4
New Member
Enjoy the real thing,
coca cola
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
|