Solved

Printing a form

Posted on 2002-03-18
3
188 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 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