Time granularity in Display vs. TimeDelay

Started by stevengraff, May 13, 2014, 09:17:17 AM

Previous topic - Next topic

stevengraff

TimeDelay respects time < 1 second... is there any setting that will permit the same with Display?

Deana

Display() function doesn't seem to accept fractional seconds. You would need to use another method to display a message to the screen like the BoxOpen/BoxShut and TimeDelay Functions.

Code (winbatch) Select
begintime=GetTickCount()
;Display(-0.5,'title', 'text')
BoxOpen('title', 'text')
TimeDelay(0.5)
BoxShut()
endtime=GetTickCount()

timeinseconds=(endtime-begintime)/1000.0
Message("Time",timeinseconds)

Deana F.
Technical Support
Wilson WindowWare Inc.

stevengraff

Thanks Deana. I ended up re-working my script so that I'd be able to use Jim's status control in my (now dynamic) dialog.