WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-08-2010, 02:37 AM
Josh Josh is offline
Member
 
Join Date: Jan 2010
Posts: 63
Thanks so far...

The space bar should only be pressed once in my experiment:

vizact.onkeydown(' ', play_first_joke)

As soon as it's been pressed, it shouldn't invode the play_first_joke method anymore.

vizact.onkeydown(' ', None)

...gives the following error:

Code:
Traceback (most recent call last):
  File "C:\Programme\WorldViz\Vizard30\python\vizact.py", line 3019, in __onkeydown
    self._callGroup(self.__keydownmap[key])
  File "C:\Programme\WorldViz\Vizard30\python\vizact.py", line 2971, in _callGroup
    val = e.call(arg)
  File "C:\Programme\WorldViz\Vizard30\python\vizact.py", line 2794, in _callStatic
    return func(*args,**kwargs)
TypeError: 'NoneType' object is not callable
Reply With Quote
 


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
onkeydown list of values Cheff Vizard 2 07-02-2008 02:00 AM


All times are GMT -7. The time now is 02:58 AM.


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