|
-
Jul 27th, 2000, 10:48 PM
#1
Thread Starter
New Member
hi~!~!
say i've a form (which is my main program too) which needs to be loaded. after loading it i want some process to be started automatically ONLY after the form has been loaded. is there a way to trigger my process?
what i've been able to do is to load my processes while the form is being loaded but not after it has been loaded though.
hope someone can help 
regards,
virux
-
Jul 28th, 2000, 05:04 AM
#2
Fanatic Member
This is my workaround:
Code:
Private Sub Form_Activate()
Static Init As Boolean
If Not(Init) Then
'Do your processing stuff here
Init = True
End if
End Sub
Hope it helps,
Me
-
Jul 28th, 2000, 09:15 AM
#3
Thread Starter
New Member
hi thanks for the reply!
where do u call Form_Activate? from within my Form_Load? or just leave it alone, which means it's being called automatically by the system?
regards,
virux
-
Jul 28th, 2000, 01:09 PM
#4
You don't need to call Activate (it's an event). Just insert V(ery) Basic's code into your Form and you should be on your way.
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
|