WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-08-2009, 04:34 PM
TrashcanPatrol TrashcanPatrol is offline
Member
 
Join Date: Aug 2008
Posts: 43
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. >_<
Reply With Quote
  #2  
Old 01-09-2009, 12:53 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,461
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)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPT cannot find cameras tavaksai Precision Position Tracker (PPT) 1 10-24-2007 11:32 PM
find direction user is facing paulpars Vizard 1 06-16-2006 02:40 PM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 12:01 PM
simple collision detection between 2 objects baf1 Vizard 3 04-29-2005 10:58 AM
Find function pkhoosh Vizard 1 02-23-2005 04:22 PM


All times are GMT -7. The time now is 12:35 PM.


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