#1
|
|||
|
|||
Callback multiple button objects
Hi all,
I am designing an interface with multiple buttons as shown in screenshot named buttons. I want to run all as per the user need and I wrote following code (please see snapshot named code) But the issue is only the function which I defines at the last works and others not work for callback. Can someone help me out in this issue. |
#2
|
|||
|
|||
Try registering the callback functions for button presses using vizact.onbuttondown:
Code:
vizact.onbuttondown(exitButton, onExitButton) vizact.onbuttondown(pauseButton, onPauseButton) vizact.onbuttondown(resumeButton, onResumeButton) |
#3
|
|||
|
|||
Yes I tried but got another error (PFA screenshot)
Last edited by Pegasus3; 08-31-2022 at 10:31 AM. Reason: Forgot attachment |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simultaneous Actions on Multiple Objects | javadi | Vizard | 2 | 07-19-2013 03:54 PM |
Multiple Button Presses | new_horizon | Vizard | 1 | 08-19-2011 04:58 AM |
removing multiple objects | durf | Vizard | 7 | 08-05-2009 09:15 AM |
multiple objects | durf | Vizard | 1 | 04-10-2009 01:42 PM |
Multiple Viewports in Vizard, Utilizing keyboard callback | shivanangel | Vizard | 2 | 02-21-2006 04:56 PM |