|
#331
|
||||
|
||||
|
FMXInno - Updates : [2023-September-05]
This is a quality update fix for FMXInno on August 31. Code:
* Fixed for higher DPI values. * Updated IsOSMatched for Windows 11 23H2 (Sun Valley 3) update. - if IsOsMatched(B_WIN11_23H2) then ... * Updated FluentAPI v2.0. * Updated ISArcEx. * Other quality improvements and bug fixes. NOTE: * Effective from this update onward, InnoSetup v5.6.1 or a newer version is required. ------------------------------------------------------------------------------------------------------------------------------------------- Quote:
The first post has been updated. . Last edited by BLACKFIRE69; 14-07-2024 at 02:04. |
| The Following 7 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
ADMIRAL (05-09-2023), audiofeel (05-09-2023), Behnam2018 (07-09-2023), hitman797 (05-09-2023), Lord.Freddy (05-09-2023), Razor12911 (10-09-2023), Tihiy_Don (06-09-2023) | ||
| Sponsored Links |
|
#332
|
||||
|
||||
|
Quote:
yes, it can be done with the 'XBass' plugin. i'll give it a try if i get some free time. |
|
#333
|
|||
|
|||
|
Directory Info Update on Editing Location
When user lands on Directory Page, currently there was no option to change the Game Name.
Consider for example, The game name is 'The Last of Us: Remake Part 1' and user wants to change it to 'The Last of Us' and install there, it was restricted on FEdit. Attaching code snippet where the user will now have ability to do that: Code:
Page2Edit.FCreate(Page2.Handle);
Page2Edit.SetBounds(NSSX(100), NSSY(190), NSSX(520), NSSY(35));
Page2Edit.FontSetting('{#FontName}', VCLFontSizeToFMX2(13), ALGainsBoro);
Page2Edit.CanFocus(True);
Page2Edit.Enabled(True);
Page2Edit.Text(MinimizePathName(WizardForm.DirEdit.Text, WizardForm.DirEdit.Font, WizardForm.DirEdit.Width));
Page2Edit.OnTyping(@BrowseEditOnChange);
Code:
procedure BrowseEditOnChange(Sender: TObject);
var
PrevDrive, CurrentDrive: String;
begin
PrevDrive := ExtractFileDrive(WizardForm.DirEdit.Text);
CurrentDrive := ExtractFileDrive(Page2Edit.GetText);
// Set the installation path to the edited text value
WizardForm.DirEdit.Text := Page2Edit.GetText;
if PrevDrive <> CurrentDrive then
DirUpdateProc(nil);
end;
|
| The Following User Says Thank You to Fak Eid For This Useful Post: | ||
audiofeel (11-09-2023) | ||
|
#334
|
|||
|
|||
|
@Blackfire69
1. Please acknowledge this issue when trying to use Edit on Directory section: https://fileforums.com/showpost.php?...&postcount=471 2. Installation speed is still not smooth. When transitioning from, say suppose Data-01 to Data-02, it still drops after a certain point of time. For eg: At Data-01 if it was 64mb/s, when extracting Data-02 it refreshes (resets) and becomes 12mb/s after some time. Not sure if it helps, but save the previous/average installation speed and when the disk transition happens, do (prev installation speed+ current callback speed)/2 (like take average) |
| The Following User Says Thank You to Fak Eid For This Useful Post: | ||
BLACKFIRE69 (11-09-2023) | ||
|
#335
|
||||
|
||||
|
Quote:
updated the 'XBass' plugin, and it now includes a new function named 'xbassAddSpectrum'. you can utilize this function to meet your expectations. additionally, please use the 'XBass' external plugin (.dll) since using the internal 'XBass' can lead to conflicts with 'FireMonkey'. Quote:
'MinimizeWindowCustomAnimated' now uses a different effect, meaning the old one has been replaced. additionally, remember the following: 1. since this is just an effect, you need to call 'pMinimizeWindow' to do the actual minimization. 2. it does not support 'FCreateImageForm'. some of the features in the 'FMXInno' plugin shouldn't be there officially, so i had to use some tricks to integrate them. this may cause compatibility issues. Code:
type TMinimizeAnimPos = (mapTop, mapBottom, mapLeft, mapRight); function MinimizeWindowCustomAnimated(MinimizeAnimPos: TMinimizeAnimPos): Boolean; . Last edited by BLACKFIRE69; 14-07-2024 at 02:05. |
|
#336
|
|||
|
|||
|
@BlackFire69
FProgressBar will always require a custom theme file to set up color and look. I was trying this with FThinProgressBar and the only thing I need is Orientation. Is it possible to add it to FThinProgressBar? The reason to choose it over ProgressBar is to be able to custom code based on Color and be independent of styling. Like make it even Color Gradient. Quote:
Last edited by Fak Eid; 11-09-2023 at 06:13. |
|
#337
|
||||
|
||||
|
Quote:
replaced 'FProgressBar' with 'FThinProgressBar' . Last edited by BLACKFIRE69; 14-07-2024 at 02:05. |
|
#338
|
|||
|
|||
|
@BlackFire69 Thank you FThinprogressBar update. I have one little question though.
Is there a way where we can show pop-up box over a FVideoPlayer. If not, is it possible for you to make it (as I have some amazing idea). If yes, can you show me a test code with it. Attaching a photo as an example for what I want it look like. A Video playing in the background instead of photo, and a pop-up display to show some information on top of it. |
|
#339
|
||||
|
||||
|
There the video is displayed on the panel, and only then there are inscriptions.
|
|
#340
|
|||
|
|||
|
I ask you to observe backward compatibility or write what types of variables you changed in the libraries. Since I am now trying to update the script for a new library and get a lot of errors.
In some functions, you have changed the type from integer to single. I ask you to indicate this, since it is problematic to observe compatibility when updating the library. |
|
#341
|
||||
|
||||
|
Quote:
adding backward compatibility can be a drawback in many cases. so, we should embrace the latest. |
|
#342
|
|||
|
|||
|
@audiofeel
I'm playing a video using FVideoPlayer in the background of a FCustomPage. I want to display a FPopupBox over this FCustomPage. I want to know if it can be made possible. Last edited by Fak Eid; 12-09-2023 at 00:11. |
|
#343
|
||||
|
||||
|
FMXInno Update - [2023-Sep-12]
Code:
* Added new functions. * Disabled runtime integrity checks. * Fixed DirBrowse Edit. * Updated FCreate* functions. * Updated 'MinimizeWindowCustomAnimated' for ImageForms. * Updated 'XBass' (internal/external). * Updated 'ISArcEx' (internal/external). * Removed lzma2 algorithm and used the lowest compression level. - FinalSize(old): 2.86 MB - FinalSize(new): 3.41 MB Code:
{ PowerPlan ID }
const
USER_PP_POWER_SAVER = $0002;
USER_PP_BALANCED = $0004;
USER_PP_HIGH_PERFORMANCE = $0006;
USER_PP_ULTIMATE_PERFORMANCE = $0008;
USER_PP_UNKNOWN = $0001;
function wPowerPlanGetActivePlan: Byte;
function wPowerPlanExist(const PowerPlanID: Byte): Boolean;
function wPowerPlanSetOrCreate(const PowerPlanID: Byte): Boolean;
var
CurActivePowerPlanID: Byte;
Code:
function InitializeSetup(): Boolean;
begin
CurActivePowerPlanID := wPowerPlanGetActivePlan;
if (CurActivePowerPlanID = USER_PP_POWER_SAVER) or // Power saver
(CurActivePowerPlanID = USER_PP_BALANCED) or // Balanced
(CurActivePowerPlanID = USER_PP_UNKNOWN) then // Unknown (optional)
begin
if (not wPowerPlanSetOrCreate(USER_PP_HIGH_PERFORMANCE)) then // High performance
MsgBox('High performance powerplan error.', mbError, MB_OK);
end;
FMXInnoInit;
Result := True;
end;
procedure DeinitializeSetup();
begin
wPowerPlanSetOrCreate(CurActivePowerPlanID);
FMXInnoShutDown;
end;
----------------------------------------------------------------------------------------------------------------------- Quote:
'MinimizeWindowCustomAnimated' has been fixed for 'ImageForms'. ----------------------------------------------------------------------------------------------------------------------- Quote:
fixed. ----------------------------------------------------------------------------------------------------------------------- Quote:
1. 'ISArcEx' only calculates the current extraction speed for the current archive. 2. 'ISArcExReduceCalcAccuracy' has been updated. - procedure ISArcExReduceCalcAccuracy(Factor: Byte); - Factor: 1-5 (default = 1). . Last edited by BLACKFIRE69; 14-07-2024 at 02:05. |
|
#344
|
|||
|
|||
|
win10 21h1 FMXForm:= InitFormHandle unresponsive
|
|
#345
|
||||
|
||||
|
i don't have Windows 10 21H1 at the moment, but it's working fine on Windows 10 22H2 (even on a virtual machine). screenshot: . Last edited by BLACKFIRE69; 14-07-2024 at 02:06. |
![]() |
|
|
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 |