Frederick Posted July 15, 2019 Posted July 15, 2019 I have UniGUIDialogs and no VCL.Dialogs in the Uses line. However, when I make the following call:- messagedlg('Test Message', mtConfirmation, mbYesNo, SomeFunc); Delphi 10S throws up an error of "E2250 There is no overloaded version of 'MessageDlg' that can be called with these arguments". What am I missing here? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1504) Quote
Frederick Posted July 15, 2019 Author Posted July 15, 2019 I found the problem in that the callback procedure was missing a parameter of "Sender : TComponent" as like procedure TUniForm.SomeFunc(Sender : TComponent; Res : Integer); begin // Some code end; 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.