VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Is Form Loaded?

Leigh Bowers  (6 Submissions)   Miscellaneous   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This function will tell you if your form is loaded (instantiated) or not. If you use the form's "Visible" property to determine this, the form is instantiated if it's not already loaded. This results in the form's "Load" event being executed unnecessarily. This function has none of the above overheads...

Inputs
Syntax: If IsLoaded("frmTest") Then...

Returns
True (loaded) or False (not loaded)

Rate Is Form Loaded? (3(3 Vote))
Is Form Loaded?.bas

Is Form Loaded? Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters