|
-
February 16th, 2000, 07:18 AM
#1
IsLoaded
Hi. Thanks for reading.
I am writing a VB 6 app which sits in the systray. I have a cute icon and everything, no problem, tip text and right-click menu. However, I wish to have a left-click on this icon bring the form(s) to to the fore, (and show them if minimised). This itself is no problem for the main application form, but when I have more than one form loaded I encounter all sorts of difficulties with modality and zorder. I've had a look and am basically short of an "IsLoaded" function for the app's forms, so that I can show them in the right order. Clear..?
How can I establish whether or not an instance of a particular form is loaded?
Cheers,
surrendermonkey
-
February 16th, 2000, 07:25 AM
#2
Re: IsLoaded
take this as a starting point
Dim frm as VB.Form
for Each frm In VB.Forms
If frm.Name = "Form1" then
MsgBox "loaded"
End If
next frm
-
February 16th, 2000, 08:49 AM
#3
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
|