PDA

View Full Version : Kinda simple but I can't find out how...


TrashcanPatrol
01-08-2009, 03:34 PM
Hi, I was just wondering how to set a vizinfo to auto-hide after say, 3 seconds...
It's simple I'm sure, but I've been unable to find out how to do it. >_<

Jeff
01-08-2009, 11:53 PM
you could set its visibility to off after a timer expires

info = vizinfo.add('Some message')

#Hide the info box after 3 seconds
vizact.ontimer2(3,0,info.visible,viz.OFF)