Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-10-2022, 06:44
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
Greetings!
for today, the most buggy will be 1-"FLabel" and 2-"FToggleCheckBox". let's start with "FLabel".
1. very sensitive to the order, that is, if you put "AutoSize" at the beginning, then something else will not be the correct result
set "WordWrap = false" in "TextSettings".
Code:
  LB1.FCreate(FMXForm.Handle, 'MyShortText');
  LB1.AutoSize(True);
  LB1.top(NSY(100));
  LB1.left(NSX(100));
  LB1.TextSetting(False, txLeading, txCenter);

  LB1.Text('FMXInno: This is a very long text for Testing FLabel AutoSize.');




Quote:
Originally Posted by audiofeel View Post
"OnClick", "OnMouseDown", "does not work eitheronMouseEnter", "onMouseLeave", "onMouseUp". but there is one fat plus. for "FLabel" it is not necessary to copy OnMouseDown(@MainMouseDown) every time. this already works and the form is dragged with the mouse behind the "FLabel", although this is not spelled out.
set "HitTest = True" (captures all mouse events)
Code:
  LB1.FCreate(FMXForm.Handle, 'MyShortText');
  LB1.AutoSize(True);
  LB1.top(NSY(100));
  LB1.left(NSX(100));
  LB1.TextSetting(False, txLeading, txCenter);

  LB1.HitTest(True);
  LB1.OnClick(@LBOnClick);
  LB1.OnMouseEnter(@LBMouseEnter);
  LB1.OnMouseLeave(@LBMouseLeave);
  //LB1.OnMouseDown(@FormMouseDown); (*Set HitTest = False*)

  LB1.Text('FMXInno: This is a very long text for Testing FLabel AutoSize.');
Quote:
"For most controls, HitTest is True by default. However, this is not true for all the controls. For example, for TLabel and TPathLabel, HitTest is False by default;
these two controls do not capture the mouse-related events unless you set HitTest to True.
" - Embarcadero





Quote:
Originally Posted by audiofeel View Post
2. I did this Shortcut[1].FCreate(Page2.Handle, NSX(40), NSY(250), NSX(32), NSY(14), {#Color}, CustomMessage(WizardLang + 'Page2Shortcut1') + '{#C1[59]}'); and got a full w.pu errors. I remove "+ ' {#C1[59]}'" and everything is fine. this only applies to two translation languages, one is fine.
i really want to see your example of this.





Quote:
Originally Posted by audiofeel View Post
well, not big quibbles. "LockScreen" is triggered on "MsgForm.HandleHWND", although it is written in the script "LockScreen.AutoActivate([FMXForm.HandleHWND, MsgForm.HandleHWND, LangForm.HandleHWND, DirBrowseDlg.HandleHWND, DirBrowseDlg.HandleHWND2, WizardForm.Handle]);"
yes. "MsgForm.HandleHWND" returns the wrong handle, i don't know why.
but there's another way.

Code:
procedure ConfirmExitMsg(Sender: TObject);
begin
  LockScreen.AutoActivateEnabled(False);
  MsgForm.Show;
end;

// ...

procedure ExitNoBtnOnClick(Sender: TObject);
begin
  MsgForm.Close;
  LockScreen.AutoActivateEnabled(True);
end;

Last edited by BLACKFIRE69; 14-07-2024 at 01:40.
Reply With Quote
Sponsored Links
  #2  
Old 24-10-2022, 01:57
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
here's an example. initially, I liked Toggle because it looks more like WP, but I couldn't or didn't want to figure out what the reason for the language selection launch failure was. and that's why I made a mandatory
checkboxes. in the script, I commented everything out and did about as I originally wanted
sorry for the late reply. (i had to participate a webinar)
found out what was going on.
Code:
FText must be of type WideString.

FText: String;  ==>  FText: WideString;
Code:
Toggle CheckBox updated. now the user has more options.

 - Rounded corners (optional)  (FRounded: Boolean).
 - Custom colors.
 - Custom positions for text.
 etc.

replace the old lib and handle.iss files with these.

,

Last edited by BLACKFIRE69; 14-07-2024 at 01:40.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (24-10-2022), ffmla (25-10-2022), Harsh ojha (24-10-2022), Jahan1373 (09-06-2023)
  #3  
Old 26-10-2022, 13:11
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
well, not big quibbles. "LockScreen" is triggered on "MsgForm.HandleHWND", although it is written in the script "LockScreen.AutoActivate([FMXForm.HandleHWND, MsgForm.HandleHWND, LangForm.HandleHWND, DirBrowseDlg.HandleHWND, DirBrowseDlg.HandleHWND2, WizardForm.Handle]);"
- Fixed CustomFluentWindow handle.
- Fixed EmptyWizardForm.


latest version has been added to the first post...
Reply With Quote
The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (26-10-2022), Cesar82 (26-10-2022), ffmla (26-10-2022), houcine80 (27-10-2022), ScOOt3r (26-10-2022)
  #4  
Old 06-11-2022, 12:39
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno v1.0.0.2

WPI_CorePack - Script Updated!

Code:
- Browse for disks.
- Before/After install:  Run executables or bats, Writing ini and Patching files.

- XBass_f.dll/ XHashNext.dll/ MFT.exe:  Updated, Reduced the file size. 
  (AV no longer pops false positive malware detection on these files.)

- Added wFilePatchLib.dll.
,

Last edited by BLACKFIRE69; 14-07-2024 at 01:41.
Reply With Quote
The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (07-11-2022), Gehrman (06-11-2022), Harsh ojha (08-11-2022), houcine80 (06-11-2022), Razor12911 (06-11-2022), ScOOt3r (07-11-2022)
  #5  
Old 11-11-2022, 03:41
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
black fire 69 I have a few suggestions for you. add "XHashNext" to the "FMXInno" library (no need to "drag" the dll with you anymore). also add "xbass_f". although "FMXInno" can play music without outside help, but only "Wav" (this is very good, the size decreases, and so on and so forth. but there is one drawback... I never found a way to pause (I searched everywhere and on "stackoverflow") and the "Wav" itself is very large. and the last sentence. add "boolean" "FDark" to other controls, not only buttons and windows, but also text and so on. thank you!
Code:
* Merged XBass_f and XHashNext into FMXInno lib as suggested.
( next time write the sentences separately. otherwise it's hard to read )

,

Last edited by BLACKFIRE69; 17-11-2022 at 22:30.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (12-11-2022), ScOOt3r (11-11-2022)
  #6  
Old 12-11-2022, 22:03
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInnoSkia v1.0.0.0 - Updates

FMXInnoSkia v1.0.0.0 - Updates


Code:
* Updated sk4d.dll  from  v3.4.1(skia v98.1.0)  -->  v4.0.1(skia v107.0.0)

Downloads: FMXInnoSk v1.0.0.0 - Final Release [2022-Nov-11].rar


(not compatible with older versions. so don't mess-up)

,

Last edited by BLACKFIRE69; 14-07-2024 at 01:41.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (12-11-2022)
  #7  
Old 13-11-2022, 06:22
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
here is another example of what can be done with FMXInno. the work is taken as a basis
https://krinkels.org/resources/yuwiz.416/
I like this design, would it be possible to do an English translation of the script? The Russian characters do not show correctly for me.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
audiofeel (13-11-2022)
  #8  
Old 14-11-2022, 04:44
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
here is another example of what can be done with FMXInno. the work is taken as a basis
https://krinkels.org/resources/yuwiz.416/
good job mate. keep going...


for peeps who love Win11 blur effects,
Code:
// function IsOSMatched(const fOsMinimum: DWORD): Boolean;

if IsOSMatched(B_WIN11_21H2) and FBlur then  // Windows 11 or newer
  // enable Fluent blur
else
  // regular


--------------------------------------------------------------------------

Code:
FMXInno:

* Latest update added to first post. [2022-Nov-14]

Last edited by BLACKFIRE69; 14-07-2024 at 01:42.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (14-11-2022), audiofeel (14-11-2022), houcine80 (14-11-2022), ScOOt3r (14-11-2022)
  #9  
Old 18-11-2022, 04:54
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post

a good working check for the Windows version
whether the os is Win11 or not is only relevant if the transparent effect is used for the installer.
therefore, i think it's best to do it in the following way.

Code:
if IsOSMatched(B_WIN11_21H2) then  // Windows 11 21H2 or newer
  FMXForm.FCreateFluent(WizardForm.Handle, FDark, False, 0.56, 0)
else
  FMXForm.FCreateBlankForm(WizardForm.Handle, ALCrimson, ExtractAndLoad('Installer.png'));
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (19-11-2022), audiofeel (18-11-2022)
  #10  
Old 21-11-2022, 20:22
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
A small bug when using "FMXForm.FCreateNormal" and an overlay of "FImage" on it. When minimizing the window.
sorry, i forgot to mention that MinimizeWindowCustomAnimated function doesn't work for FCreateNormal.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (21-11-2022), houcine80 (22-11-2022)
  #11  
Old 15-12-2022, 03:58
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno + FMXInnoSk - Updates

FMXInno + FMXInnoSkia - Updates


The FMXInno v1.0.0.2 (SRC Version: 14.0 - 14.9) is almost done.


Quote:
This was the to-do list in version 1.0.0.2.

* Ability to directly access MouseDown events of main forms.
* Auto DarkMode.
* Auto-scroll form background image.
* Blend on Moving.
* Botva2-like buttons, checkboxes, Trackbars and progress bars.
* Button Sounds.
* Color conversion between FMX and VCL or HTML.
* Customizable lock screen.
* Custom Fluent Window.
* Custom Opacity and brightness for Fluent forms.
* Default Skin.
* Dynamic Tiles.
* File Patching.
* Fluent Design DirBrowse Window.
* Fluent Design StartMenuBrowse Window.
* Form image SlideShow.
* FXPcker / FXStream.
* HTTP Client Api.
* Integration with Skia.
* Image SlideShow.
* NewScaler v2.0.
* SplashScreen.
* Translucent Objects.
* Transparent GIFs.
* Toggle CheckBox v2.0.
* Windows Notifications.


Before moving to the next version, if you need to add anything or any modification in the current version leave it below.

The next version (v1.0.0.3) will be released once it's done, but i can tell it won't be anytime soon.


Latest version added to first post.
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ffmla (15-12-2022), Gehrman (22-01-2023), ScOOt3r (15-12-2022)
  #12  
Old 15-12-2022, 21:31
Behnam2018 Behnam2018 is offline
Registered User
 
Join Date: Jun 2018
Location: IRAN
Posts: 57
Thanks: 973
Thanked 24 Times in 20 Posts
Behnam2018 is on a distinguished road
Unhappy nothing happens when I run this script

Hi audiofeel , nothing happens when I run this script

My operating system is Windows 7 64-bit
Attached Images
File Type: jpg 3.jpg (246.6 KB, 164 views)
File Type: jpg 2.jpg (296.0 KB, 163 views)
File Type: jpg 1.jpg (202.6 KB, 156 views)
Attached Files
File Type: 7z OpenSetup.7z (16.67 MB, 11 views)

Last edited by Behnam2018; 15-12-2022 at 21:33.
Reply With Quote
The Following User Says Thank You to Behnam2018 For This Useful Post:
audiofeel (15-12-2022)
  #13  
Old 15-12-2022, 22:27
Behnam2018 Behnam2018 is offline
Registered User
 
Join Date: Jun 2018
Location: IRAN
Posts: 57
Thanks: 973
Thanked 24 Times in 20 Posts
Behnam2018 is on a distinguished road
Unhappy

thank you audiofeel
Attached Images
File Type: jpg 222.JPG (63.2 KB, 259 views)

Last edited by Behnam2018; 15-12-2022 at 22:42. Reason: error please help
Reply With Quote
The Following User Says Thank You to Behnam2018 For This Useful Post:
audiofeel (15-12-2022)
  #14  
Old 16-12-2022, 04:58
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Behnam2018 View Post
thank you audiofeel
this might work.

in the latest release (22-Dec-15), i removed resources for Windows 7 and Windows 8.

Quote:
Originally Posted by BLACKFIRE69 View Post
FMXInno (Alpha) - Updates

Code:
* Stripped unused resources. ( 2.53 MB  -->  2.21 MB )
,

Last edited by BLACKFIRE69; 14-07-2024 at 01:44.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (16-12-2022)
  #15  
Old 16-12-2022, 09:11
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno - Updates

FMXInno - Updates

Code:
* FMXInno is now fully compatible with Windows 10 (except transparency).
* DrawFrame is available for every form.

 (Tested on Windows 10 22H2 x64)
,

Last edited by BLACKFIRE69; 14-07-2024 at 01:44.
Reply With Quote
The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (19-12-2022), audiofeel (16-12-2022), ffmla (19-12-2022), Harsh ojha (18-12-2022), hitman797 (16-12-2022), Razor12911 (17-12-2022)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 04:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com