Optionbutton Value Animation

In a graphic some radiobuttons are needed for the selection of one of several choices. For now, the Optionbutton is used. For this object the Value has to be assigned in a script, as no Animation is shown.

I have 2 questions:

1. Is an Animation for the Value possible for the Optionbutton?

2. Does an alternative object exist where the value (Fill of the round) can be Animated?

4 Replies

  • Typically these properties can be animated, but not by the default animation options. When you open the Animations dialog, there should be an area for "Additional Animations", which has a button labeled "Configure..." If you click that and browse through the category tabs, the property that determines the radio button value should in one of the tables that show up in the middle of the window. If you check the "animate" box in the table, it'll let you assign an animation to that property.

    The only warning I'd have here is that you'll want to check to see if you have any VBA scripts that trigger on the radio button's value changing. By animating this property, Operate effectively changes the value every time it updates the properties on the display, which can cause those scripts to trigger, depending on the event selected. So if it writes to the system, you could end up with some undesirable behaviors depending on the design of the script.
  • In reply to MCrisler:

    What I learned that the animation can be called in to ways, depending on the User Preferences / Picture Preferences / "Always Show Basic Animation Dialog". When this checkbox is not checked (as with me) the extended Animation dialog is shown. In both cases a lot of parameters can be animated, but the parameter 'Value' is not in the lists.
    Thanks for the reply, but the question is still valid.
  • In reply to Maarten van der Waal:

    Only way that I'm aware of is to update via a VBA script when the picture opens, linked variable on change event or something like that.

    Have you tried a named set linked to a parameter with the selectable options and then the user(s) choose with a combobox selection?
  • Hi,

    With my experience, I have seen the graphic page get loaded if we use the VBA objects like OptionButton here.
    How many options button objects will be required in your case?
    Alternately, you may have a VBA form and all OptionButton will be part of that form. Call this form from any rectangle click in the same graphic.

    On the form load (or form initialise) event you may have your logic to animate the values to respective option buttons. You may use frsReadValue function to get the value of a parameter.
    Also if the option buttons are arranged in a frame on, the default behaviour will allow to assign or choose only one option value.

    The same form, with OK button will have logic to pass on the selected motion's value to respective target parameter. May use frsWriteValue here and unload the form.

    Hope this helps.

    Mangesh Phatale,Pune