![]() |
FMXInno Community
9 Attachment(s)
-- Frequent Requests from the FMXInno Community --
Quote:
Quote:
. |
What are the chances that Epic Games updated their UI few days after I created an installer that looks like it. Draining all my efforts :(
|
Quote:
|
Help with WebView
1 Attachment(s)
Any idea how can I bring this section to the front in case of using WebView? When using FImage, on the click of Downloads button I'm doing DownloadInfo.BringToFront; which doesn't seem to be working in case of FWebView.
As an alternate, I'm hiding the FWebView when the Download Info section is opened, but it looks clumsy and not good. If we can display this over it, would be really good. |
Add parameters to WebView
Hi @Blackfire,
I personally believe that WebView has too much of unexplored potential just like FNewINI and there are numerous amount of possibility with it. - Can we have SetBounds and IsVisible parameters on FWebView2Obj? - Can we make it dependent on FRectangle handles completely instead of FMXForm.Handle? I might be asking for more features on it. Including these parameters will help me to add WebView in my Steam Limitless installer. |
Custom Slideshow and Generic WebView Example
2 Attachment(s)
Real life examples are in Epic Games Installer
Generic WebView Example You can reuse the attached WebView.html like this: Code:
[Files]Code:
procedure LoadHtmlContent(Width, Height: Integer; SrcURL: WideString);Code:
LoadHtmlContent(680, 384, 'https://www.youtube.com/ watch?v=hS7ZY7oLCS4&ab_channel=RANDOMGAMERTAGS');The need for this was because both type of Image Slideshow were dependent on FMXForm and couldn't be overlayed with a different component. Hence, I had to go with creating my own. Code:
j: Integer;Code:
GameImage.FCreate(FMXForm.Handle);Code:
procedure ChangeSlide(Sender: TObject);Settings.ini has a parameter as Number of Slides where you need to define the number of Image Files from the folder, to be included in the slideshow. |
FMXInno - Updates
3 Attachment(s)
FMXInno - Updates
* Let me know if you would like to have the FCustomMemo in future updates. it's an advanced Memo component i used previously in the Avalon Installer, and it originally comes with FMXInno v1.0.0.3. Features: Quote:
. |
I wouldn't mind.. It is always more convenient to customize. I already have some ideas. My new work can wait to have it. Can you also include these in the update too?
|
1 Attachment(s)
Quote:
FireMonkey is a different story. while working with FireMonkey (FMX), especially when integrating with native components like WebView2, there're certain limitations due to how FMX and the underlying platform handle windows and rendering. FMX is designed to be cross-platform, with a focus on vector-based, hardware-accelerated graphics, while traditional controls like WebView2 rely on native Windows-specific window handles (HWND) to be embedded. to embed WebView2 within a FireMonkey form, we use 'FMXForm.Handle', which provides the necessary window handle (HWND) for WebView2 to render its content. this works because a form in FMX has an associated native window, and we can retrieve its handle. however, FMX objects like 'TRectangle', 'TPanel', and other 'TFMXObject' descendants don't have an underlying native window (HWND). they're drawn directly onto the GPU and managed by the FireMonkey rendering engine, which makes them platform-agnostic but without any native window handle. since WebView2 requires an actual window handle to render its content, it isn't possible to use a 'TFMXObject' like 'TRectangle' as the parent window for WebView2. in essence, FireMonkey objects and native components like WebView2 operate in fundamentally different ways. while you can embed WebView2 inside a FireMonkey form by setting the parent window to the form handle, using a 'TFMXObject' as a parent isn't feasible due to the lack of a native window handle in FireMonkey controls. not only the ones you mentioned, but i also want to add more. however, it isn’t possible due to compatibility limitations. . |
8 Attachment(s)
Quote:
@audiofeel, i've provided two examples below: one uses regular Checkboxes, and the other uses CheckboxTree. you can use them as a reference. Note: i discovered unexpected behavior in MInI. it's a generic issue, not an error on my part. however, i applied a hotfix for it. you can download MInI and FMXInno [June-10] below. . |
FMXInno - Updates
12 Attachment(s)
[ FMXInno Cumulative Update - 2024/Aug/28 ]
--- Changelog Code:
* Added Custom Blueprints:Advanced Notification: Quote:
Code:
procedure CsNotifyOnActivated(Sender: INotification; nArguments: WideString; nUserInput: INotificationUserInput);Code:
// ContentAdvanced Shapes: Quote:
Code:
{ AdvancedShape }The first post has been updated—check it out! . |
Urgent Upgrades
When trying to create an .ini file for setting config of my installer using:
INI_Maker: FNewINI; INI_Maker.FCreate(ExpandConstant('{src}\Game\Insta ller.ini')); it is creating the file in UTF-8 with BOM which is messing with Inno Compiler and not producing the desired result. How can I have FNewINI to create the file in UTF-8 format. In case when the main section say [Execs] doesn't exists and we create the SubSection using FNewINI: Code:
INI_Maker.WriteSubString('Execs', 'AppExe'+IntToStr(j), 'Name', ExeEdit[i].GetText);Desired output should be: Code:
[Execs]Code:
[Execs\AppExe1]No Mouse Actions like: OnMouseEnter, OnMouseLeave, OnClick are working |
Quote:
|
Please add methods:
onMouseEnter(Event: TNotifyEvent); procedure onMouseLeave(Event: TNotifyEvent); For the checkboxtree component (checkbox, radiobutton). |
There is a problem with the RemoveObject2 method for FCombobox. It does not work properly and does not delete the specified element.
|
| All times are GMT -7. The time now is 05:06. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com