Easy Question :
I want to know if there'S a simple way to know when your program is running, if a specific form is loaded (just hidden by another form) ??
thanks for help
Printable View
Easy Question :
I want to know if there'S a simple way to know when your program is running, if a specific form is loaded (just hidden by another form) ??
thanks for help
You can do something like this
Dim MyForm As Form
For Each MyForm In Forms
If MyForm.Name="thisform" Then
..it's loaded
End If
Next
Or, if you are just picking on one particular form you could set a Public variable on the form's Load Event, and unset it on the form's Unload event. Then you can just check the public variable.