|
-
Oct 5th, 2000, 05:04 PM
#1
Thread Starter
New Member
i know that this is a rather simple question and i should probably know the answer, but i have never needed to do it before. how do i load a form from an event procendure? i when it loads up (the second form) things will be executed in the load procedure.
thank you for you help.
-
Oct 5th, 2000, 05:11 PM
#2
_______
<?>
'event procedure
Load FormWhaever
FormWhatever.Show
'and if you want the present form out of the way
FormMain.Hide
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Oct 5th, 2000, 05:11 PM
#3
Hyperactive Member
Thanks Alot,
David Gottlieb
CIW Certified Internet Webmaster
Web Developer/Designer
-
Oct 5th, 2000, 05:22 PM
#4
Thread Starter
New Member
thank you much. the only problem is that i need to use the load procedure of the new form to print items on the form, but it doesn't seem to be working. any ideas?
thanks
-
Oct 5th, 2000, 05:24 PM
#5
_______
<?>
Use the form Activate event not the load event.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Oct 5th, 2000, 05:28 PM
#6
Actually Load() will work. Just make sure the AutoRedraw is set to True.
Code:
Private Sub Form_Load()
AutoRedraw = True
Print "Hello"
End Sub
-
Oct 5th, 2000, 05:35 PM
#7
Thread Starter
New Member
The AutoRedraw seems to have done the trick.
thanks megatron and everyone alse. I would never have guessed about the autoredraw
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|