View Single Post
  #2  
Old 20-03-2023, 07:18
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
@BLACKFIRE69.
I found a small bug. If the user chose "solid color" instead of wallpaper, there will be an error. Culprit = "GetDesktopImgColorFMX", "FUserInfo" - "function Wallpaper: WideString"

this could be more helpful.

Code:
* Added new functions.
  - GetDesktopSolidColorVCL
  - GetDesktopSolidColorFMX
  - DesktopImgExist
Code:
Example:

if DesktopImgExist then
   FMXForm.FCreateFluentColor(WizardForm.Handle, GetDesktopImgColorVCL, False, 0.4, 0)
else
   FMXForm.FCreateFluentColor(WizardForm.Handle, GetDesktopSolidColorVCL, False, 0.4, 0);

Last edited by BLACKFIRE69; 31-03-2023 at 09:51.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (20-03-2023), Behnam2018 (22-03-2023), hitman797 (21-03-2023), ScOOt3r (20-03-2023)