Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Simpler VB problem

Thread Tools
 
Search this Thread
 
Old Jun 4, 2002 | 07:45 PM
  #1  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Right, changing from one Form to another

say im on main form and want th change to print.frm

i used to to
main.hide
print.show

my mates said Load/Unload everytime is better but how?

Cheers

Si
Reply
Old Jun 4, 2002 | 08:41 PM
  #2  
nigelward's Avatar
nigelward
Scooby Regular
 
Joined: Oct 2001
Posts: 831
Likes: 0
Post

Depends what you are doing, must admit I haven't seen an application that hides or unloads the main form to show a Print window (especially if it is printing that data that was entered on the main form).

It is possible but unload and hide behave differently:

Unloading a form will loose any data that has been entered by the user and the form is removed from memory.

Hiding the form leaves the information intact and the form remains in memory.

In the main form the code would be:
print.show
unload me

In the print form the code would be:
main.show
unload me

Nigel
Reply
Old Jun 4, 2002 | 09:01 PM
  #3  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Its just a form called print it could be called abcd! how do you navigate between forms?

Si
Reply
Old Jun 4, 2002 | 09:03 PM
  #4  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Thanks think that'll work
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Abx
Subaru
22
Jan 9, 2016 05:42 PM
PetrolHeadKid
Driving Dynamics
10
Oct 5, 2015 05:19 PM
T.K
General Technical
10
Oct 2, 2015 11:35 AM
the shreksta
Other Marques
26
Oct 1, 2015 02:30 PM
minguela
Wheels And Tyres For Sale
0
Sep 29, 2015 11:28 AM




All times are GMT +1. The time now is 01:35 PM.