View Single Post
  #9  
Old 18-04-2020, 09:40
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
I found a code and modified it you say it looks like it?
Quote:
; Elamigos example username page ini file section
[INI]
Filename: {app}\uplay_r1_loader.ini; Section: Settings; Key: UserName; String: {code:GetUserName}


; Elamigos example username page code sections

[code]
var
UserNamePage : TInputQueryWizardPage;

procedure InitializeWizard;
begin
UserNamePage := CreateInputQueryPage(wpWelcome,
'Modificare il nome del giocatore', 'Nome del giocatore',
'Cambia il nome utente nel gioco');
UserNamePage.Add(' Username:', False);
end;

function UserNameForm_NextButtonClick(Page: TWizardPage): Boolean;
begin
Result := True;
end;

function GetUserName(Param: String): string;
begin
result := UserNamePage.Values[0];
end;

Last edited by nicola16; 18-04-2020 at 10:07.
Reply With Quote