Text on the text box

R

RSusanto

Hi,

I have a text box on the form and also a button.
Then when the button click, I put the status in the textbox
me.txtStatus="process..."

The problem is, the status won't show at the textbox.
But when we trace it, then we can see it in there textbox.
Seems like we need to pause it.
anybody got idea,what's going on with it ?

thax
 
G

Guest

hi,
then just after me.txtStatus="process..."
put a DoEvents
this will interrupt code to allow the CPU to complete
tasks in its cache like refresh the screen.
 
R

Ronald W. Roberts

RSusanto said:
Hi,

I have a text box on the form and also a button.
Then when the button click, I put the status in the textbox
me.txtStatus="process..."

The problem is, the status won't show at the textbox.
But when we trace it, then we can see it in there textbox.
Seems like we need to pause it.
anybody got idea,what's going on with it ?

thax
Try

me.txtStatus="process..."
Me.Refresh

Ron
 
Top