Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

hide a form behind another form

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
isnoend2001
Asked:
isnoend2001
1 Solution
 
zorvek (Kevin Jones)ConsultantCommented:
Have you tried setting its Visible property to False?

Kevin
0
 
JackOfPHCommented:
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
 
isnoend2001Author Commented:
The form has to be visible.
The setfocus prints the top portion of the printform and the bottom of the calling form
0
 
gpizzutoCommented:
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
 
isnoend2001Author Commented:
Decided to go a different route
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now