home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-10 | 476 b | 23 lines | [TEXT/PJMM] |
- unit About_Dialog;
-
- interface
- procedure AboutDialog;
-
- implementation
- procedure AboutDialog;
- var
- itemHit: Integer;
- tDialog: DialogPtr;
- begin
- {Let the OS handle the Alert and wait for a result to be returned}
- tDialog := GetNewDialog(7, nil, WindowPtr(-1));
- if tDialog <> nil then
- begin
- ShowWindow(tDialog);
- SelectWindow(tDialog);
- ModalDialog(nil, itemHit);
- DisposDialog(tDialog);
- end;
- end; {procedure AboutDialog}
-
- end. {unit AboutDialog}