Changing Picture Button's Name/ID and Animation Settings

David Belote (4/21/14 7:06AM)
Jeremy Roussak (4/21/14 3:16PM)
Keisuke Miyako (4/21/14 4:47PM)


David Belote (4/21/14 7:06 AM)

Programmatically

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

David Belote
Colorado Springs, CO USA

Jeremy Roussak (4/21/14 3:16 PM)

Programmatically

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

Jeremy Roussak
jbr@...

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

color><param>00000,0000,DDEE/param>IIs there a way to programmatically
change the picture button Name/ID number
and programmatically set the new picture button animation settings
(e.g.,
Loop Back to First Frame, Switch every X Ticks) when a user clicks a
picture
button and then set it back to the original picture button after
execution
of the method is completed? ?I?m trying to animate a long method?s
execution
by replacing the original standard 4 frame (Active, Clicked, Mouse
Over,
Inactive) picture button that the user clicks to start the process
with a 24
frame picture button of the exact same size that slowly spins until the
method finishes execution.
/color>

Keisuke Miyako (4/21/14 4:47 PM)

Programmatically

Hello.

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

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 programmatically
change the picture button Name/ID
number
and programmatically set the new picture button animation settings
(e.g.,
Loop Back to First Frame, Switch every X Ticks) when a user clicks a
picture
button and then set it back to the original picture button after
execution
of the method is completed?
/color>

Reply to this message

Summary created 4/21/14 at 5:43PM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com