Sign in to follow this  
jfiddler

Action on radio button, or slider, or ???

Recommended Posts

Is there a way to have a sequence called, or an action performed, when a radio button selection is changed, or a slider is moved, or an edit box is changed? I guess I could just write a sequence that loops and watches the appropriate variables, but that seems kind of hokey.

Share this post


Link to post
Share on other sites

Yes and no. We'll add a direct way with release 6, but for now you can use the generic component events (under 5.7+). Go View-Event to display that docking window, then select the component, then select an event. You'll probably need to use OnPaint since most of the others are handled by the control. Its certainly not as clean as it should (and will be under 6.0), but at least the script stays with the component. If its common functionality, you can even create a user component for it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this