Einzelnen Beitrag anzeigen

trivial

Registriert seit: 17. Okt 2005
18 Beiträge
 
#1

Inno Setup Programme in Code teil aufrufen.

  Alt 19. Okt 2005, 07:18
Hallo,

kann mir einer sagen, wann im Programm dieser Teil aufgerufen wird?

Code:
function MsgBox(const Text: String; const Typ: TMsgBoxType; const Buttons: Integer): Integer;

begin
  // Display a simple message box with an OK button
  MsgBox('Hello.', mbInformation, MB_OK);

  // Ask the user a Yes/No question
  if MsgBox('Are you sure?', mbConfirmation, MB_YESNO) = IDYES then
  begin
    // user clicked Yes
  end;

  // Ask the user a Yes/No question, defaulting to No
  if MsgBox('Are you sure?', mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then
  begin
    // user clicked Yes
  end;
end;
Bei mir gibt der nämlich nie was aus.
Habe ich was vergessen.
Danke

[edit=Sharky]Code-Tags vervollständigt Mfg, Sharky[/edit]
  Mit Zitat antworten Zitat