Changing Picture Button's Name/ID and Animation Settings

Is there a way to programmatically change the picture button Name/IDnumberand programmatically set the new picture button animation settings(e.g.,Loop Back to First Frame, Switch every X Ticks) when a user clicks apicturebutton and then set it back to the original picture button afterexecutionof the method is completed? ?I?m trying to animate a long method?sexecutionby replacing the original standard 4 frame (Active, Clicked, MouseOver,Inactive) picture button that the user clicks to start the processwith a 24frame picture button of the exact same size that slowly spins until themethod finishes execution.

David BeloteColorado Springs, CO USAJeremy Roussak (4/21/14 3:16 PM)

Programmatically

This isn't quite the answer to your question, but it might be asimpler solution: why not just hide the original 4-frame button andshow the (initially hidden) 24-frame rotating one?

Jeremy Roussakjbr@...

On 21 Apr 2014, at 14:06, David Belote <dbelote@...wrote:

color><param>00000,0000,DDEE/param>IIs there a way to programmaticallychange the picture button Name/ID numberand programmatically set the new picture button animation settings(e.g.,Loop Back to First Frame, Switch every X Ticks) when a user clicks apicturebutton and then set it back to the original picture button afterexecutionof the method is completed? ?I?m trying to animate a long method?sexecutionby replacing the original standard 4 frame (Active, Clicked, MouseOver,Inactive) picture button that the user clicks to start the processwith a 24frame picture button of the exact same size that slowly spins until themethod finishes execution./color>Keisuke Miyako (4/21/14 4:47 PM)

Programmatically

Hello.

the first part of your question is probably answered by OBJECT SETFORMAT,but you have to keep in mind that the form is only updated once perevent.

so to change the picture and then revert to original,you need at least 2 form events,you have to run a method once at the beginning and again at the end.

miyako

On 2014/04/21 22:06, "David Belote" <dbelote@... wrote:

color><param>00000,0000,DDEE/param>IIs there a way to programmaticallychange the picture button Name/IDnumberand programmatically set the new picture button animation settings(e.g.,Loop Back to First Frame, Switch every X Ticks) when a user clicks apicturebutton and then set it back to the original picture button afterexecutionof the method is completed?/color>Reply to this messageSummary created 4/21/14 at 5:43PM by Intellex Corporation