PDA

View Full Version : Rightclick spinner reset? Which command?


Gibbz
12-01-2005, 10:53 AM
Hey Guys, im trying to figure out how to add code for my spinner, so that when your rightclick it it resets the zero and preforms an operation. How do i do
something like the following...

on myspinner rightclick do

Aearon
12-01-2005, 11:25 AM
not possible as far as i know

but you can do something like this

on spinner changed value do
(
if value == 0 then
(
--do stuff
)
)

so when you rightclick the spinner and it's reset to zero, the code will be executed... but obviously this way it will also be executed when you drag the slider to zero or manually enter zero

Gibbz
12-01-2005, 11:26 AM
ok cool, that will work, thanks :)

CGTalk Moderation
12-01-2005, 11:26 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.