Page 1 of 1

Source image for spinning animation?

Posted: Fri Aug 03, 2012 5:57 am
by StupidSexyFlanders
Working with the Run Process control set (along with the required Form-Tracker set). I would like to copy/alter the default 'busy image' but cannot seem to find it on my system. Is that an animated gif?



The control set's ImageList doesn't indicate there are any images attached at all, so I assume this is hard-coded to the control set source.

Can you point me to where this image is on my system

Source image for spinning animation?

Posted: Fri Aug 03, 2012 6:10 am
by davidc
Yes the images are embedded in the control set. So there is no physical files installed on your drive. You could reference the imageList using other controls if you need to.David

Source image for spinning animation?

Posted: Fri Aug 03, 2012 6:12 am
by davidc
To answer you other question, it's not an animated image. It is a series of images that are changed by the timer's event in order to produce an animation. David

Source image for spinning animation?

Posted: Fri Aug 03, 2012 6:22 am
by StupidSexyFlanders
Okay, thanks. So if I wanted in insert an entirely different set of images how do I instruct the timer to pull a different image with each tick -- and then have it start over once it's done?

Based on how the existing control set is coded, I think each image in the list is part of an array called ImageIndex (which can be referenced by a button or whatever)...but I am not sure about that.

Just want to make sure I am understanding the logic inside the imagelist/timer relationship.

Source image for spinning animation?

Posted: Fri Aug 03, 2012 6:33 am
by davidc
The easiest way is to change the images in the ImageList (imagelistButtonBusyAnimation). Or you can create a new imagelist and set the button's ImageList property so that it points to the new one. In either case, you shouldn't have to change any logic, since the update script block looks at the button's ImageList property. David