Reputation: 15389
In what sequence are the Form_Load() and the Form_Activate() functions called in VB6? What does "Activate" mean in the context of forms?
Upvotes: 7
Views: 14565
Reputation: 1123
you can try it yourself!
Option Explicit
Private Sub Form_Activate()
MsgBox "Form_Activate"
End Sub
Private Sub Form_Load()
MsgBox "Fom_Load"
End Sub
Form_Load msgbox always come out first!
Upvotes: 1