Solved

hide a form behind another form

Posted on 2007-11-28
5
157 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

752 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