Solved

hide a form behind another form

Posted on 2007-11-28
5
156 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
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Title # Comments Views Activity
MS Acccess - Update Field in Table when report is printed 6 51
Modifying Conditional Format from VBA code 3 69
Send outlook email from VBS Script 2 58
Problem to line 23 73
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

713 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