No need to recompile
To make No default you can use
MessageBox(Handle,'Exit alication ','Confirm',mb_YesNo
or mb_IconQuestion or mb_DefButton2)
or with messagedlg
WITH CreateMessageDialog('Do you really want to delete
the file?',mtWarning,[mbYes,mbNo]) DO
BEGIN
FOR n:=0 TO ControlCount-1 DO
IF (Controls[n] is TButton)
THEN IF TButton(Controls[n]).Name='No' THEN
TButton
(Controls[n]).TabOrder:=0;
ShowModal;
END;
regards,
Wim
--- Rainer von Saleski <[EMAIL PROTECTED]> wrote:
>
> Does anyone know how to fix this? Can I simply edit
> Dialogs.pas and
> recompile it? How do I go about doing that? (Not
> "how do I fix the
> source", but what do I compile, and does it need any
> special installation?)
>
> Thanks,
> Rainer
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi