Add a screen refresh to your tight loop: statictext1.text=xs statictext1.refresh
HTH, Keith Delong > I'm new to realbasic, but not to programming in general. > > 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. > > Sincerely, > > Michael _______________________________________________ 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>
