Yes thats what I want to know. I had a feeling it was possible, but, was not
sure if my memory was playing tricks on me or not.

Thanks, Jeremy Coulter

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Corey Murtagh
> Sent: 28 March, 2001 7:33 AM
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Deafult Button
>
>
> > Jeremy Coulter wrote:
> >
> > Hi all. I am SURE this has been asked before, BUT, is there away to set
> > the default button in a messagedlg ? or am I better to write my
> own and do
> > it that way?
>
> You mean MessageBox()?  You can use the MB_DEFBUTTONx (x is 1 to
> 4) flags to
> change which of the buttons is default.  I often use MB_DEFBUTTON2 with
> MB_YESNO to select 'No' as the default.
>
> --
> Corey Murtagh
> The Electric Monk
> "Quidquid latine dictum sit, altum viditur!"
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to