|
|
|
#1
|
|||
|
|||
|
Commented that line of code. Now the form comes in round corners, but it is still happening. Any other fix?
Last edited by Fak Eid; 17-05-2024 at 01:28. |
| The Following User Says Thank You to Fak Eid For This Useful Post: | ||
Behnam2018 (19-05-2024) | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
The fact that it is only happening for InstallPage: FCustomFluentWindow only for the first time and not again, and not happening for ExitPage and SettingsPage confuses me. Last edited by Fak Eid; 17-05-2024 at 02:26. |
| The Following User Says Thank You to Fak Eid For This Useful Post: | ||
Behnam2018 (19-05-2024) | ||
|
#3
|
||||
|
||||
|
Quote:
i can't easily explain why this is happening, and i can't recreate the situation to test it. but anyway, FMXInno - [2024-May-17].rar |
| The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (18-05-2024), Behnam2018 (19-05-2024), Fak Eid (18-05-2024), hitman797 (17-05-2024), ScOOt3r (17-05-2024) | ||
|
#4
|
|||
|
|||
|
Quote:
But I figured, in 14th May version. This anomaly is only happening in InstallPage @1080p 125% resolution only which is FCustomFluentWindow with both FCreateBlankForm only(not any other FCreate functions). For the rest other resolutions, it is working fine. Sharing you files to look and please let me know if I'm doing something wrong as well. I'll try correcting it from next time as well. [This is just dummy code set] Required Files in 'Game' folder. FMX files in Files/Modules Section to review: Search by keyword 'InstallPage' PS: Please also add GetSelectedDiskName (to get the name of the selected drive) on FDiskList. |
| The Following 2 Users Say Thank You to Fak Eid For This Useful Post: | ||
BLACKFIRE69 (18-05-2024), Jahan1373 (18-05-2024) | ||
|
#5
|
||||
|
||||
|
Quote:
(Tested at 125% scale) Last edited by BLACKFIRE69; 21-05-2024 at 08:46. |
|
#6
|
|||
|
|||
|
Quote:
The Piece of code which I tested in the video @1080p 125%: Code:
{ Exit Form }
ExitForm.FCreateBlankForm(FMXForm.HandleHWND, $FF161616, ExtractAndLoad('exit.jpg'));
ExitForm.Height(160); //If you make this 165, the form will display fine
ExitForm.Width(420);
ExitForm.DisableFluentEffects;
ExitShadowLayer.FCreate(ExitForm.Handle);
ExitShadowLayer.Align(Client);
ExitShadowLayer.FillColor(ALBlack);
ExitShadowLayer.Opacity(0.5);
ExitShadowLayer.HitTest(False);
ExitLbl[2].FCreate(ExitForm.Handle);
ExitLbl[2].Text('Quit Installer');
ExitLbl[2].TextSetting(False, txLeading, txLeading);
ExitLbl[2].FontSetting('Segoe UI SemiLight', VCLFontSizeToFMX(15), {#TextColor});
ExitLbl[2].AutoSize(True);
ExitLbl[2].Position(20, 10);
ExitLbl[2].HitTest(False);
ExitLbl[3].FCreate(ExitForm.Handle);
ExitLbl[3].Text('Setup is not complete. If you exit now, the progam will not be installed.' + #13 + 'Exit now?');
ExitLbl[3].TextSetting(True, txLeading, txLeading);
ExitLbl[3].FontSetting('Segoe UI', VCLFontSizeToFMX(9), ALWhite);
ExitLbl[3].AutoSize(False);
ExitLbl[3].SetBounds(20, 55, 420, 115);
ExitLbl[3].HitTest(False);
// Yes
ExitBtnLbl[1].FCreate(ExitForm.Handle);
ExitBtnLbl[1].Text('Yes');
ExitBtnLbl[1].AutoSize(True);
ExitBtnLbl[1].FontSetting('Segoe UI', VCLFontSizeToFMX(9), ALWhite);
ExitBtnLbl[1].TextSetting(False, txLeading, txLeading);
ExitBtnLbl[1].Position(220, 115);
ExitBtn[1].FCreate(ExitForm.Handle);
ExitBtn[1].SetBounds(180, 110, 100, 25);
ExitBtn[1].Opacity(0.2);
ExitBtn[1].CornerStyle(3, 3, [tcTopLeft, tcTopRight, tcBottomLeft, tcBottomRight], ctRound);
ExitBtn[1].OnClick(@CommonOnClick);
ExitBtn[1].OnMouseEnter(@CommonButtonEnter);
ExitBtn[1].OnMouseLeave(@CommonButtonLeave);
// No
ExitBtnLbl[2].FCreate(ExitForm.Handle);
ExitBtnLbl[2].Text('No');
ExitBtnLbl[2].AutoSize(True);
ExitBtnLbl[2].FontSetting('Segoe UI', VCLFontSizeToFMX(9), ALWhite);
ExitBtnLbl[2].TextSetting(False, txLeading, txLeading);
ExitBtnLbl[2].Position(340, 115);
ExitBtn[2].FCreate(ExitForm.Handle);
ExitBtn[2].SetBounds(300, 110, 100, 25);
ExitBtn[2].Opacity(0.2);
ExitBtn[2].CornerStyle(3, 3, [tcTopLeft, tcTopRight, tcBottomLeft, tcBottomRight], ctRound);
ExitBtn[2].OnClick(@CommonOnClick);
ExitBtn[2].OnMouseEnter(@CommonButtonEnter);
ExitBtn[2].OnMouseLeave(@CommonButtonLeave);
end;
Last edited by Fak Eid; 20-05-2024 at 12:36. |
| The Following 2 Users Say Thank You to Fak Eid For This Useful Post: | ||
almjedgroup (23-08-2024), audiofeel (20-05-2024) | ||
|
#7
|
||||
|
||||
|
Just forget about the previous builds (May 19, etc.) because they had some issues. 'FMXForm.Show' didn't work properly, 'Translucent' objects didn't function, and 'BeginHaltProc' was broken, etc.
This update addresses those issues. FMXInno - Final Release [2024-May-21] Code:
* Integrated all the updates so far. * Made some improvements and fixed bugs. * Added new properties to classes. * Updated Fluent API. * Improved 'SetActiveThemeModeAwareness': -- It now supports all the forms except 'NormalForm' and 'ClassicForm'. > Fluent: ChangeFluentTheme (Dark/Light) > FluentColor: ChangeFluentColor > FluentBlendedColor: ChangeBlendedColor > BlankForm: ChangeBlankFormColor * Optimized for higher DPI. * Ensured FMXForm and MsgForms are shown in the desktop center. * The package now includes InnoSetup v6.0.5 + ResTools IDE instead of InnoSetup v5.6.1: -- Make sure to use 'EmptyWizardForm' to resize the setup, especially for InnoSetup 6+. * All basic tests were done with InnoSetup v6.3.0 Dev: -- To ensure FMXInno works with the latest updates of InnoSetup. * Compiled in RadStudio 12.1 + Patch 01. Quote:
The first post has been updated. . Last edited by BLACKFIRE69; 10-06-2024 at 11:48. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |