TLama

Untitled

May 26th, 2013
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.72 KB | None | 0 0
  1. procedure ShowPageConstantName(PageID: Integer);
  2. var
  3.   S: string;
  4. begin
  5.   case PageID of
  6.     wpWelcome: S := 'wpWelcome';
  7.     wpLicense: S := 'wpLicense';
  8.     wpPassword: S := 'wpPassword';
  9.     wpInfoBefore: S := 'wpInfoBefore';
  10.     wpUserInfo: S := 'wpUserInfo';
  11.     wpSelectDir: S := 'wpSelectDir';
  12.     wpSelectComponents: S := 'wpSelectComponents';
  13.     wpSelectProgramGroup: S := 'wpSelectProgramGroup';
  14.     wpSelectTasks: S := 'wpSelectTasks';
  15.     wpReady: S := 'wpReady';
  16.     wpPreparing: S := 'wpPreparing';
  17.     wpInstalling: S := 'wpInstalling';
  18.     wpInfoAfter: S := 'wpInfoAfter';
  19.     wpFinished: S := 'wpFinished';
  20.   else
  21.     S := 'Unknown or custom page ID';
  22.   end;
  23.   MsgBox(S, mbInformation, MB_OK);
  24. end;
Advertisement
Add Comment
Please, Sign In to add comment