|
|
|
#1
|
||||
|
||||
|
no bro i need like this, but it not working.
procedure AboutButtonOnClick(Sender: TObject); begin If CurPageID=wpWelcome then begin MsgBox('Hello.', mbInformation, MB_OK); end; If CurPageID=wpSelectDir then begin MsgBox('Hello.', mbInformation, MB_OK); end; end; |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
Code:
[code]
var
PageID: integer;
procedure CurPageChanged(CurPageID: integer);
begin
PageID:=CurPageID;
end;
procedure AboutButtonOnClick(Sender: TObject);
begin
case PageID of
wpWelcome: MsgBox('wpWelcome', mbInformation, MB_OK);
wpLicense: MsgBox('wpLicense', mbInformation, MB_OK);
wpPassword: MsgBox('wpPassword', mbInformation, MB_OK);
wpInfoBefore: MsgBox('wpInfoBefore', mbInformation, MB_OK);
wpUserInfo: MsgBox('wpUserInfo', mbInformation, MB_OK);
wpSelectDir: MsgBox('wpSelectDir', mbInformation, MB_OK);
wpSelectComponents: MsgBox('wpSelectComponents', mbInformation, MB_OK);
wpSelectProgramGroup: MsgBox('wpSelectProgramGroup', mbInformation, MB_OK);
wpSelectTasks: MsgBox('wpSelectTasks', mbInformation, MB_OK);
wpReady: MsgBox('wpReady', mbInformation, MB_OK);
wpPreparing: MsgBox('wpPreparing', mbInformation, MB_OK);
wpInstalling: MsgBox('wpInstalling', mbInformation, MB_OK);
wpInfoAfter: MsgBox('wpInfoAfter', mbInformation, MB_OK);
wpFinished: MsgBox('wpFinished', mbInformation, MB_OK);
end;
end;
|
| The Following 2 Users Say Thank You to altef_4 For This Useful Post: | ||
papas (02-09-2016), y_thelastknight (30-12-2013) | ||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |