Solved

Printing a form

Posted on 2002-03-18
3
195 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

737 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