|
#11
|
||||
|
||||
|
FMXInno: Minor Update - [2024-Mar-27]
Code:
* Added the FColorComboBox class. * Prevented forms from being resized. * Added the following new functions: function IsValidVCLColor(const AColor: TColor): Boolean; function IsValidFMXColor(const AColor: TAlphaColor): Boolean; function IsLightFMXColor(const AColor: TAlphaColor): Boolean; function IsLightVCLColor(const AColor: TColor): Boolean; IsLightFMXColor: Quote:
Code:
procedure ClrBxOnChange(Sender: TObject);
var
CtrlClr: TAlphaColor;
begin
CtrlClr := AClrBx.GetColor;
if IsLightFMXColor(CtrlClr) then
AText.Color(ALBlack)
else
AText.Color(ALWhite);
ARect.FillColor(CtrlClr);
end;
Code:
Extra: function DesktopImgExist: Boolean; function GetDesktopImgColorFMX: TAlphaColor; function GetDesktopSolidColorFMX: TAlphaColor; function GetImgColorFMX(const Image: UnicodeString): TAlphaColor; function GetImgPartColorFMX(const Image: UnicodeString; const PixelX, PixelY, PixelW, PixelH: Single): TAlphaColor; How to update: Code:
1. Download the latest update from the first post. 2. Replace the 'FMXInno.dll' and 'FMXInnoHandle.iss' with the provided ones. . Last edited by BLACKFIRE69; 30-04-2024 at 11:07. |
| The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (27-03-2024), hitman797 (27-03-2024), Lord.Freddy (27-03-2024), ScOOt3r (27-03-2024), Tihiy_Don (27-03-2024) | ||
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |