#796
|
|||
|
|||
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) |
Sponsored Links |
#797
|
|||
|
|||
A false screen pops-up for a few second and disappears every time the Setup.exe file is run. This was not happening in the 14th May or older version.
|
The Following 2 Users Say Thank You to Fak Eid For This Useful Post: | ||
audiofeel (20-05-2024), Behnam2018 (20-05-2024) |
#798
|
||||
|
||||
FMXInno - Updates
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. |
#799
|
|||
|
|||
Please add the Cursor method for the FColorButton component.
|
#800
|
|||
|
|||
This issue is still happening in FMXInno [21-May] for all types of forms, at all resolutions and in both Inno Setup version, that is, 6.3.0 and 5.6.0
|
#801
|
|||
|
|||
I also have this problem, a white square appears briefly on blankform. There is no such problem with imageform.
|
#802
|
||||
|
||||
Quote:
Windows gets new updates regularly, and i've upgraded to the newest version of RadStudio, so anything could be affect this. this is the best optimization that i can do on my part. if it doesn't work, then i can't do anything about it. check the attachment. Added the 'cursor' property for custom blueprints. InnoSetup 6.3.0 Dev: Code:
* Compiled with the latest source code (2024-May-26). * Added missing help files. * Corrected custom syntax highlighting. -- In the previous build, i might have done something wrong. this build will fix it. Last edited by BLACKFIRE69; 14-07-2024 at 02:20. |
#803
|
|||
|
|||
Help for FNewINI
I still need help with this
Earlier to read AppName from .ini file we used to: Code:
#define AppName ReadIni(SourcePath + "Game\Installer.ini", "Installer", "Name", "") [Setup] AppName={#AppName} Code:
[Setup] AppName=ANewInI.ReadString('Installer', 'Name', '') Last edited by Fak Eid; 28-05-2024 at 04:19. |
#804
|
||||
|
||||
Quote:
this tool is the CLI version of 'FNewINI' and can be used for preprocessing and automating everything at compile-time. in the attachment, you'll find a simple example of how to read and configure the setup with the following INI file. . Last edited by BLACKFIRE69; 10-06-2024 at 11:49. |
#805
|
|||
|
|||
Hi @Blackfire,
It is good that we now have a preprocessor for Read INI, but personally I think that we only need that to pass {#AppName} and {#DirName} at the compile time during the setup creation process. Rest everything can be handled without preprocessor. The FNewINI is written well enough. Please consider an example I shared above for Icons creation. It is easy to read, has a common procedure for all AppExe, less code, has ability to add more parameters in future and doesn't use preprocessor. You can definitely enhance and add to FMXInno (if you feel) If I have to use the preprocessor only, I'd rather use the older reliable method. But, thank you so much for the enhancements. I'd be posting more on Redist installation handling and Data extraction handling. I'm coding and testing on them. |
#806
|
||||
|
||||
Quote:
|
The Following User Says Thank You to audiofeel For This Useful Post: | ||
Ele (29-05-2024) |
#807
|
|||
|
|||
Quote:
I've almost completed changes and currently testing this with new FNewINI Last edited by Fak Eid; 29-05-2024 at 11:58. |
#808
|
||||
|
||||
Well, it will be very useful
|
#809
|
|||
|
|||
Issue with FCombineText
Hi @Blackfire,
Not sure if you remember I asked how can I have just 1 character space instead of Tab Space for FCombineText, and you mentioned it can be done using 0 or -1, -2, etc. The problem is, it is not working for Smaller Font Size like 12-15. The two texts are not on same height and the gap is unusual. On Larger Font Size, like 16, it is working as expected. Can you help? Code:
SectionText[1].FCreate(SectionContent[1].Handle, 500, 15, 'Developers :', INI_DEVELOPERS, -1, False); SectionText[1].Text1Setting('{#FontName}', 12, {#FontColor}, False); SectionText[1].Text2Setting('{#FontName}', 12, {#SelectedFontColor}, False); SectionText[2].FCreate(SectionContent[1].Handle, 500, 35, 'Genre :', INI_GENRE, -1, False); SectionText[2].Text1Setting('{#FontName}', 12, {#FontColor}, False); SectionText[2].Text2Setting('{#FontName}', 12, {#SelectedFontColor}, False); |
#810
|
||||
|
||||
Quote:
Code:
TTextAlign = (txCenter, txLeading, txTrailing); procedure Text1HorzAlign(HAlign: TTextAlign); procedure Text2HorzAlign(HAlign: TTextAlign); |
The Following User Says Thank You to hitman797 For This Useful Post: | ||
Fak Eid (04-06-2024) |
Thread Tools | |
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 |