> Am 07.07.2019 um 13:57 schrieb Markus Winter <[email protected]>: > > Hi, > Usually when I drag a class to a window then I get an instance of that class.
That requires a public constructor with no arguments. > The reason for me wondering was that I want to turn it into a reusable > ContainerControl, and I would have liked everything to be inside that > ContainerControl. You should be able to put a Map control on the container. > But if I add an MKLocalSearchMBS class instance I get the error > “MKLocalSearchMBS1 needs to have a constructor with the signature > Constructor() to be placed on a window ccMapSearch”. Sounds correct and the error message explains it. > And what is the signature of that constructor? I tried to add one but am > getting complaints … Constructor(request as MKLocalSearchRequestMBS) Does not match Constructor() Which is needed. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ _______________________________________________ [email protected] mailing list %(list_address)s https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
