How to modify job start button imagelistAnimation

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
PGomersall
Posts: 94
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Sun Mar 03, 2013 12:40 pm

How to modify job start button imagelistAnimation

Post by PGomersall »

Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.173
OS: Windows 10 Education (64 Bit)
Build: v10.0.18363.0

I am using your job start button to create a responsive form. However, I was wondering if you could give me some advice on how to edit the imagelistAnimation to give it a bit of color - so that the little spinning wheel is the same color as say the default progress bar (i.e. green)?
Thanks,
Pete

User avatar
brittneyr
Site Admin
Posts: 473
Joined: Thu Jun 01, 2017 7:20 am

Re: How to modify job start button imagelistAnimation

Post by brittneyr »

The imagelistAnimation is a just a list of images meaning you can modify those to whatever you would like, but when $buttonStartJob is clicked, the button is disabled. This grays out the button which will affect any changes you make to the images in the imageListAnimation as it will be grayed out as well.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
PGomersall
Posts: 94
Joined: Sun Mar 03, 2013 12:40 pm

Re: How to modify job start button imagelistAnimation

Post by PGomersall »

So even if you edited the images the disabled button would would effectively grey them out.
Could the imageListAnimation be used with some other control (rather than a button) that would not do this? If it could, how would one go about copying the imageListAnimation and editing the images wherever they exist?

User avatar
brittneyr
Site Admin
Posts: 473
Joined: Thu Jun 01, 2017 7:20 am

Re: How to modify job start button imagelistAnimation

Post by brittneyr »

The imageListAnimation object is apart of your GUI, so you are able to manipulate it however you wish, but the default images themselves are apart of the control and therefore cannot be modified. You would need to find or create new images if you wish to change them.
Brittney Ryn
SAPIEN Technologies, Inc.