Text on the text box

  • Thread starter Thread starter RSusanto
  • Start date Start date
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
 
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.
 
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
 
Back
Top