Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13-10-2019, 21:22
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
@mausschieber
This "CenterInsideControl" function no longer exists in Inno Setup 6...

A possible almost similar solution is:
Delete line in color red and insert this parts in blue color.
Code:
procedure AboutFormOnShow(Sender: TObject);
begin
  TSetupForm(Sender as TSetupForm).Left := WizardForm.Left + (( WizardForm.ClientWidth -  TSetupForm(Sender as TSetupForm).ClientWidth) div 2);
  TSetupForm(Sender as TSetupForm).Top :=  WizardForm.Top + ((WizardForm.ClientHeight - TSetupForm(Sender as TSetupForm).ClientHeight) div 2);
end;

procedure AboutButtonClick(Sender: TObject);
var
  AboutForm: TSetupForm;
  AboutOKButton: TNewButton;
  AboutLabel: TNewStaticText;
  LogoImage: TBitmapImage;
begin
  AboutForm := CreateCustomForm
  try
    AboutForm.ClientWidth := ScaleX(380);
    AboutForm.ClientHeight := ScaleY(280);
    AboutForm.Caption := SetupMessage(msgAboutSetupMenuItem);
    AboutForm.OnShow := @AboutFormOnShow;
    //AboutForm.CenterInsideControl(WizardForm, False);
Reply With Quote
The Following 3 Users Say Thank You to Cesar82 For This Useful Post:
Grumpy (14-10-2019), mausschieber (14-10-2019), pakrat2k2 (13-10-2019)
Sponsored Links
  #2  
Old 15-10-2019, 06:44
Titeuf's Avatar
Titeuf Titeuf is offline
Registered User
 
Join Date: Oct 2016
Location: France
Posts: 191
Thanks: 614
Thanked 22 Times in 19 Posts
Titeuf is on a distinguished road
Hello everyone,
for some games, there are several *.ini files with the name of the player in different directories of the game, how and with what piece of code (for version 7.1.3)
I can do so that the name of the chosen player before the installation starts to change on all *.ini files?
In advance thank you for your answers,
cordially
Reply With Quote
  #3  
Old 21-10-2019, 08:03
Titeuf's Avatar
Titeuf Titeuf is offline
Registered User
 
Join Date: Oct 2016
Location: France
Posts: 191
Thanks: 614
Thanked 22 Times in 19 Posts
Titeuf is on a distinguished road
Hi,
Up please.
Thank
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 02:24
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 00:02
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Simple Arc Installer 78372 Conversion Tutorials 1 15-06-2017 15:37
MSC+Srep+lzma Simple Script Example gozarck Conversion Tutorials 10 07-09-2015 16:31



All times are GMT -7. The time now is 13:49.


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