|
-
October 27th, 2001, 04:19 AM
#1
Label Caption disappears
hi everybody,
i am using a label in a vb form, whose caption is changed at runtime to show progress. But this caption disappears at few moments and a white patch appears on the form. The caption with new value reappears after a few seconds. What might be the problem and how to rectify this? Please Help
Thanks in advance
-
October 27th, 2001, 04:49 AM
#2
Re: Label Caption disappears
Give the sample code of it here.
Regards,
Shiv Kumar G.M.
-
October 27th, 2001, 08:15 AM
#3
Re: Label Caption disappears
Your problem is one of the system refreshing its windows. When ProgramA has control of the system, no other program can refresh the screen until ProgramA relinquishes control. Hence the white box for a period of time.
Try inserting a refresh immediately after updating the label like so:
[vcode]
Label1.Caption = "This is updated text"
Label1.Refresh
[/vbcode]
John G
-
October 29th, 2001, 08:20 AM
#4
Re: Label Caption disappears
Thank you very much for your kind reply. I tried your suggestion and it is working perfectly.
Once again thank you very much for your guidence.
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
|