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) 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now