[Lazarus] MessageDlg() return type

Graeme Geldenhuys graeme at geldenhuys.co.uk
Wed Sep 12 15:30:50 CEST 2012


Hi,

Why is MessageDlg()'s return type a Integer and not a TMsgDlgBtn or 
TModalResult type?

Surely the return type expect must be one of the TMsgDlgBtn or 
TModalResult enum types?

Regards,
   - Graeme -




More information about the Lazarus mailing list