|
#46
|
||||
|
||||
|
FMXInno - Updates
If you want to protect your data especially things like graphics, it's now easy to do so with features built into the FMXInno. What happens here is that the FMXInno accesses those file in memory, which means that no file is created in the hard disk. Let's see how to do it. Quote:
* Be sure to create a new data file (Setup.dat) whenever you make changes to the script and recompile it. Because that file (Setup.dat) is unique. Otherwise, accessing the data file (Setup.dat) will be treated as unauthorized access. The attached example includes more details. Code:
function InitializeSetup(): Boolean;
begin
// FXStream
FXOk := FXUnPckrInit(ExpandConstant('{src}\Setup.dat'), '@#123_Test');
if not FXOk then
begin
MsgBox('Failed to initialize the setup. The installation process cannot continue.', mbError, MB_OK);
Result := False;
end
else
begin
FMXInnoInit;
Result := True;
end;
end;
// ...
procedure FMXDesigning;
begin
{ FMX Form }
FMXForm.FCreateImageFormFromFXStream(WizardForm.Handle, 'PicForm.png', 1.00);
FMXForm.SetCursor(ExtractAndLoad('Dark2.ani'));
{ Music Equ }
MusicEqu.FCreate(FMXForm.Handle, NSX(620), NSY(100), NSX(110), NSY(42), 1.5, 8, '');
MusicEqu.SetPictureFromFXStream('EqualizerLight.png');
MusicEqu.OnClick(@MusicEquOnClick);
{ PicBtn[1] }
PicBtn[1].FCreateFromFXStream(FMXForm.Handle, 'Button.png', NSX(600), NSY(455), NSX(125), NSY(45));
PicBtn[1].Text('&Cancel');
PicBtn[1].OnClick(@CommonOnClick);
// ...
{ PicPart }
PicPart.FCreateFromFXStream(FMXForm.Handle, 'mspaint.png', MusicEqu.GetLeft, MusicEqu.GetTop + NSY(100), 100, 100, 50, 50, 100, 100);
// ...
{ PicPB[1] }
PicPB[1].FCreateFromFXStream(FMXForm.Handle, 'pb.png', 'pbbkg.png', PctLabel.GetLeft + NSX(20), PctLabel.GetTop + NSY(50), 380, 25, True);
PicPB[1].Value(69, 100);
// ...
end;
. Last edited by BLACKFIRE69; 14-07-2024 at 01:34. |
| The Following 7 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
ADMIRAL (14-07-2022), ffmla (14-07-2022), Gehrman (12-07-2022), Harsh ojha (31-07-2022), houcine80 (13-07-2022), Razor12911 (19-08-2022), ScOOt3r (12-07-2022) | ||
| Sponsored Links |
|
#47
|
||||
|
||||
|
FMXInno v1.0.0.2 - Updates
Code:
-- Added Auto DarkMode. -- Added auto-scroll form background image depending on mouse position. 1. function FCreateScrollableImgForm(WParent: HWND; AddImage: String): HWND; 2. function FCreateScrollableImgFormFromFXStream(WParent: HWND; AddImage: String): HWND; -- Added blend on moving effect. -- Prevented the resizing of the fmx form. -- Removed old color functions (which were buggy) and added new functions instead. Quote:
Last edited by BLACKFIRE69; 19-08-2022 at 08:58. |
|
#48
|
||||
|
||||
|
Demo - WPI Corepack
. Last edited by BLACKFIRE69; 14-07-2024 at 01:35. |
| The Following 8 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
ADMIRAL (20-08-2022), audiofeel (20-08-2022), Gehrman (30-08-2022), Harsh ojha (22-08-2022), hitman797 (21-08-2022), houcine80 (20-08-2022), Razor12911 (19-08-2022), Scotty.5055 (30-11-2024) | ||
|
#49
|
|||
|
|||
|
That's another good looking installer
|
| The Following User Says Thank You to ScOOt3r For This Useful Post: | ||
BLACKFIRE69 (20-08-2022) | ||
|
#50
|
|||
|
|||
|
Hello BLACKFIRE69
Demo - WPI Corepack Can You Extract the Full Version ? The Health of Your Labor Looks Very Beautiful Can you Include the DiskSpan_GUI Compression Application in the Full Version I Hope You Can Prepare It As Soon As Possible |
| The Following User Says Thank You to Snake288 For This Useful Post: | ||
BLACKFIRE69 (20-08-2022) | ||
|
#51
|
||||
|
||||
|
for fast startup.
Code:
[Setup] //... Compression=zip/1 SolidCompression=False InternalCompressLevel=none //... |
| The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
ScOOt3r (30-08-2022) | ||
|
#52
|
||||
|
||||
|
FMXInno v1.0.0.2 - Updates
Code:
function FCreateFluent(WParent: HWND; DarkTheme, NewMaterial, CleanThanDefault,
NoBorder: Boolean): HWND;
Default material: ![]() ![]() New material: ![]() ![]() . Last edited by BLACKFIRE69; 14-07-2024 at 01:35. |
| The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
Razor12911 (09-09-2022), ScOOt3r (07-09-2022) | ||
|
#53
|
||||
|
||||
|
New UI Material Example:
, Last edited by BLACKFIRE69; 14-07-2024 at 01:36. |
| The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
Razor12911 (09-09-2022), ScOOt3r (08-09-2022) | ||
|
#54
|
||||
|
||||
|
Quote:
maybe this depends on the windows os + graphics performance of the pc. but i don't know exactly. Quote:
![]() (extra (WPI_CorePack): you can also navigate through pages by clicking page labels.) Last edited by BLACKFIRE69; 15-10-2022 at 16:12. |
| The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (13-09-2022) | ||
|
#55
|
||||
|
||||
|
FMXInno - Updates
Code:
- Added ability to change the opacity and brightness of Fluent forms.
(MainForm, DirForm, StartForm, CustomForm)
- Fixed focus issue in FluentDirBrowse / FluentStartBrowse.
- Minor bugs have been fixed.
- Some improvements.
function FCreateFluent(WParent: HWND; DarkTheme, NoBorder: Boolean; Opacity: Single;
BrightnessPct: Byte): HWND;
, Last edited by BLACKFIRE69; 14-07-2024 at 01:36. |
|
#56
|
||||
|
||||
|
Quote:
maybe try using new values for Top and Width for higher DPI. Code:
var
FCurrentDPI: Cardinal;
begin
FCurrentDPI := GetCurrentDPIValue;
if FCurrentDPI < 120 then
Switch1.Width(NSX(78))
else
Switch1.Width(NSX(58));
DPI PCT
96 - 100%
120 - 125%
144 - 150%
192 - 200%
Code:
procedure FMXDesigning;
var
FOffset: Integer;
begin
...
#ifdef Component1
FOffset := 0;
Component[1].FCreate(Page3.Handle, True, 'Install {#C1[59]}');
Component[1].SetBounds(NSX(20), NSY(185), NSX(250), NSY(25));
Component[1].FontSetting('Segoe UI', VCLFontSizeToFMX2(10), VCLColorToFMXColor($FFFFFF));
#ifdef Component2
FOffset := FOffset + 5;
Component[2].FCreate(Page3.Handle, True, 'Install {#C2[59]}');
Component[2].SetBounds(NSX(20), NSY(210 + FOffset), NSX(250), NSY(25));
Component[2].FontSetting('Segoe UI', VCLFontSizeToFMX2(10), VCLColorToFMXColor($FFFFFF));
...
#ifdef Component8
FOffset := 0;
Component[8].FCreate(Page3.Handle, True, 'Install {#C8[59]}');
Component[8].SetBounds(NSX(340), NSY(185), NSX(250), NSY(25));
Component[8].FontSetting('Segoe UI', VCLFontSizeToFMX2(10), VCLColorToFMXColor($FFFFFF));
#ifdef Component9
FOffset := FOffset + 5;
Component[9].FCreate(Page3.Handle, True, 'Install {#C9[59]}');
Component[9].SetBounds(NSX(340), NSY(210 + FOffset), NSX(250), NSY(25));
Component[9].FontSetting('Segoe UI', VCLFontSizeToFMX2(10), VCLColorToFMXColor($FFFFFF));
...
end;
Last edited by BLACKFIRE69; 14-07-2024 at 01:36. |
|
#57
|
|||
|
|||
|
Change File Not working script fixed please help me |
|
#58
|
||||
|
||||
|
more details plz?
|
|
#59
|
||||
|
||||
|
FMXInno - Updates
Code:
Added: - function EnableWinDarkMode(IsDark: Boolean): Boolean; - function IsWinDarkModeEnabled: Boolean; - function EnableWinTransparency(Enabled: Boolean): Boolean; - function IsWinTransparencyEnabled: Boolean; - function EnableWinAccentColor(Enabled: Boolean): Boolean; - function IsWinAccentColorEnabled: Boolean; - function RestartWinExplorer: Boolean; - function GetWinAccentColorVCL: TColor; - function GetWinAccentColorFMX: TAlphaColor; Improved: - Customizable exit form. , Last edited by BLACKFIRE69; 14-07-2024 at 01:37. |
|
#60
|
||||
|
||||
|
New FMXInnoSk FMXInno + Skia >> FMXInnoSk FMXInnoSk is a side projects of FMXInno itself, where the other external API are integrated into FMXInno. Here is the integration of Skia (is a cross-platform 2D graphics API developed by Google) to FMXInno as a starting step. More about Skia: skia.org skia4delphi FMXInnoSk requires the sk4d.dll lib. (sorry for the low resolution GIFs ) , Last edited by BLACKFIRE69; 14-07-2024 at 01:38. |
![]() |
|
|
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 |