Hi, I’m playing around with the MapKit LocalSearch example and am somewhat puzzled:
Usually when I drag a class to a window then I get an instance of that class. If the class has nothing to display (eg a timer) then it is added at the bottom of the Window Now I was wondering why subclasses of MapKit classes were added to the project, and those were added as properties of the window, instaed of adding them as instances to the window. 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. So I tried that. I can add an MKLocalSearchCompleterMBS class instance to a Window or ContainerControl, implement its events, and it runs without an error. 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”. Why? First time I encounter that. And what is the signature of that constructor? I tried to add one but am getting complaints … TiA Markus _______________________________________________ mbsplugins@monkeybreadsoftware.info mailing list %(list_address)s https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info