ListO
Señor Member
- Local time
- Today, 14:47
- Joined
- Feb 2, 2000
- Messages
- 162
I thought this would be easy, but my brain doesn't seem to grasp the concept...
I have a number of forms, each of which has an invisible label with the same name (DoneLabel).
From time to time I would like to make that label visible for a second or so, then make it invisible. The operative code looks like this:
(I have a subroutine which inserts a pause of variable duration).
Rather than imbed the same code into each form, I'd like a little public sub that I can call from any form which needs it. I'm having difficulty in how to reference the calling form and label, or how to call the public sub and pass proper information to it.
I have a number of forms, each of which has an invisible label with the same name (DoneLabel).
From time to time I would like to make that label visible for a second or so, then make it invisible. The operative code looks like this:
Code:
Private Sub FlashDone()
Pause (conDonePause)
DoneLabel.Visible = True
Pause (conDonePause)
DoneLabel.Visible = False
End Sub
(I have a subroutine which inserts a pause of variable duration).
Rather than imbed the same code into each form, I'd like a little public sub that I can call from any form which needs it. I'm having difficulty in how to reference the calling form and label, or how to call the public sub and pass proper information to it.