Solved

hide a form behind another form

Posted on 2007-11-28
5
158 Views
Last Modified: 2010-04-30
I am using a form just for printing. i am using PrintPictureToFitPage which is kinda like printscreen. the forms needs to be visible to print. I do not want this form to show. i have tried placing the form completly off the right side of screen and this does not work.My next attempt is to place it behind the calling form.
How can i place this form behind another form ?
0
Comment
Question by:isnoend2001
[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
5 Comments
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 20371651
Have you tried setting its Visible property to False?

Kevin
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 20371661
set the focus property of the other form.

Try,

for example you have form1 and form2. form2 needs to be sent at the back of the other form.


Do this...

form1.setfocus
0
 

Author Comment

by:isnoend2001
ID: 20371729
The form has to be visible.
The setfocus prints the top portion of the printform and the bottom of the calling form
0
 
LVL 8

Accepted Solution

by:
gpizzuto earned 250 total points
ID: 20375549
try to minimize the form without showing it in the taskbar.
another way is to set its borderstyle to none and setting its sizes to zero (width=0 and heigth=0)
0
 

Author Closing Comment

by:isnoend2001
ID: 31411592
Decided to go a different route
Thank you
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

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…
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.
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…
Suggested Courses
Course of the Month5 days, 9 hours left to enroll

627 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