Solved

Printing a form

Posted on 2002-03-18
3
175 Views
Last Modified: 2010-05-18
I have an MDI child form that can be wider that the available area on the MDI parent form.

I need to print the MDI child form, but by using PrintForm, only the visible area is printed.

Does anyone know if I can print the MDI child form contents without having to scroll the MDI parent form, or how I can automatically scroll the MDI parent form to print the MDI child form using multiple PrintForm commands?
0
Comment
Question by:hairybarbarian
3 Comments
 
LVL 18

Accepted Solution

by:
mdougan earned 50 total points
ID: 6878110
Are you issuing the PrintForm from a reference to the MDIParent or from the MDI Child?

If you say MDIForm1.PrintForm then you will only get the visible contents of the MDI parent form (assuming that it's name is MDIForm1)

But, if you say frmChild.Printform, then you should get then entire child form to print whether it is completely visible or not.  If not, then try setting the child form's AutoRedraw property to True.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7634139
Hi hairybarbarian,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept mdougan's comment(s) as an answer.

hairybarbarian, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:kodiakbear
ID: 7665968
Moving to the paq

kb
Experts Exchange Moderator
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now