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 -