|
-
Feb 6th, 2000, 08:08 AM
#1
Thread Starter
Hyperactive Member
Lets say you are using a form that has a progress bar on it. you have 5 other forms and they all use that progress bar to show how mush is being loaded but you make it so the other forms are enabled = false when the progress form is there. so is there a way to make a variable in a module and when one of those forms loadeds up it says the variable is that forms name and then the progress bar uses that name to make the enabled true again when it unloads. For instance
in module
global happy as ????
under the other forms when they load
happy = me
or happy = form1
????
under the progress bar form
If Pb1.Value < Pb1.Max Then
If num <> -1 Then
Pb1.Value = index1
Else
Pb1.Value = 1
End If
Else
Unload Me
happy.Enabled = True
happy.Show
End If
I hope this made sense thanks!!!
------------------
Sincerely,
Chris
:-) ;-)
just have fun out there and live life to the fullest while it is still here
Email [email protected]
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
|