On Jun 1, 2006, at 6:17 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:

I want to make a countdown timer, but for some reason, I can't get anything to display in my static
text box.  here is my code.

dim x as integer
dim xs as string

x=100
   while x>0
   x=x-2
   xs=cstr(x)
   statictext1.text=xs
wend

Any ideas? When I do a step through, I can see the value decrementing.

Try placing a "statictext1.refresh" statement following your "statictext1.text=xs" statement thereby forcing the field to be refreshed on the screen instead of waiting until the while loop has completed.


=== A Mac addict in Tennessee ===

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to