Frederick Posted July 15, 2019 Share 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 Link to comment Share on other sites More sharing options...
Frederick Posted July 15, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
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.