Jump to content

Slider return to default when released?


Recommended Posts

Posted

In conjuction with the lever mentiond on my previous post:

The harder the accelerator is pressed, the faster the car accelerates. This will be illustrated with a Tachometer (RPM). When the accelerator is released, the car will decelerate.

So a ramp up/down function is needed??

:headbang:

Posted
Is there a way to make a slider control return to the default position when released?

The aim is to have a control which acts like the accelerator of a car.

When released, it will spring back to 0.

Thanks

Jason

2736[/snapback]

Hi,

If you use a Event structer associate with your slider, i think you can do that. Use the mouse up event. i hope this example can help you.

bye

Download File:post-645-1101238414.vi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.