Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 165
  • 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

Featured Post

Industry Leaders: 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!

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