View Single Post
  #4  
Old 27-05-2024, 11:18
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Lord.Freddy View Post
Hi Cesar82,

A few days ago, I embarked on creating a custom function for the "FadeEffect" feature in my installer script. While I successfully implemented the function, I encountered an issue when attempting to close the installer using the newly added functionality. Specifically, I received an error message. To troubleshoot, I meticulously reviewed my code and made adjustments based on your original script.

The modified version now resides in the file below, and I'm pleased to report that it works seamlessly without requiring any additional lines of code such as WizardForm.Free. However, there are only one remaining challenges:

Minimizing and Maximizing Animation Not Displayed: Despite the improvements, minimizing and maximizing animation doesn't appear as expected.

I kindly request your assistance in resolving these issues. Your expertise would be greatly appreciated.
I think combining AnimateWindow will not work together with this code.
You could throw AnimateWindow into the WizardForm.OnShow event.
I modified the code a little and added timers for FadeIn/FadeOut (see attachment).
Attached Files
File Type: rar FadeEffect.rar (3.6 KB, 12 views)

Last edited by Cesar82; 27-05-2024 at 11:25.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
Lord.Freddy (27-05-2024), ScOOt3r (30-05-2024)