boyracer38 Posted November 23, 2004 Report Share Posted November 23, 2004 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 Quote Link to comment
boyracer38 Posted November 23, 2004 Author Report Share Posted November 23, 2004 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: Quote Link to comment
Paulo Almeida Posted November 23, 2004 Report Share Posted November 23, 2004 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 Quote Link to comment
boyracer38 Posted November 24, 2004 Author Report Share Posted November 24, 2004 That really helps thanks!!!! :thumbup: Thanks Jason Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.