- May 21, 2001
- 26,201
- 4,871
- 126
Thanks for those who helped get me on the right track to start with. I'm getting a lot accomplished in learning VB considering the library has all the VB books checked out and since my boss was too cheap to buy the help files for the first few days.
I've got a question about printing in a loop. I need to do something like this (simplified from the real code of course):
Do while ...
.
.
.
GasTemperature = FunctReadTemp(...)
lblTemperature = GasTemperature
.
.
.
Loop
My problem is that only the last temperature is ever printed. So I tried adding:
lblTemperature.refresh
to the loop code. That now prints everything, but the whole label box has an annoying flash (including the border). Is there a way to eliminate the flashing, and just print the numbers?
Now for the more difficult question. Is it possible to have a loop like that running on a form while still accessing the command buttons/option buttons/etc on the form? Basically I would like a label that continuously shows the temperature running in the background while I still have full access to that form.
I've got a question about printing in a loop. I need to do something like this (simplified from the real code of course):
Do while ...
.
.
.
GasTemperature = FunctReadTemp(...)
lblTemperature = GasTemperature
.
.
.
Loop
My problem is that only the last temperature is ever printed. So I tried adding:
lblTemperature.refresh
to the loop code. That now prints everything, but the whole label box has an annoying flash (including the border). Is there a way to eliminate the flashing, and just print the numbers?
Now for the more difficult question. Is it possible to have a loop like that running on a form while still accessing the command buttons/option buttons/etc on the form? Basically I would like a label that continuously shows the temperature running in the background while I still have full access to that form.
