Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi All Ok, I have a button on a 1

Status
Not open for further replies.

EvilTwinOfAtrus

Technical User
Dec 30, 2002
56
GB
Hi All

Ok, I have a button on a form that collects data. When the data has finished collecting, a normal vbInformation box comes up so the user can click OK. However, what I want to do is have a box that comes up whilst the data is being collected saying that the data is being collected and perhaps a percentage? Did not specify any form names or anything as I only need the code :)

Thankyou :)
EToA
 
In that case, I'd recommend a label on your data entry form.
Give it some nice design (larger font, background color..) with your desired message and set its "Visible" property to False.
In the OnClick event of the Button, put this:
[blue]
Me.YourLabelName.Visible=True
Me.Repaint
...
You data collecting code goes here
...
Me.YourLabel.Visible=False
End Sub
[/blue]

That should do it.
MakeItSo

Andreas Galambos
EDP / Technical Support Specialist
(andreas.galambos@bowneglobal.de)
HP:
 
Ok, thats a great suggestion, thankyou :)

Only one final thing, how is it possible to make the label blink on and off?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top