WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Kinda simple but I can't find out how... (https://forum.worldviz.com/showthread.php?t=1771)

TrashcanPatrol 01-08-2009 03:34 PM

Kinda simple but I can't find out how...
 
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

Code:

info = vizinfo.add('Some message')

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



All times are GMT -7. The time now is 08:40 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC