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.

Link to comment
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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.