Am 30.10.2013 um 08:09 schrieb Osswald Oliver <[email protected]>:
> Is there a way to determine the position of a NSButtonMBS (or other things > like NSPopupButtonMBS) according to the Xojo coordinate system (x,y)? > > How do I get coordinates for NSButtonMBS and what are these numbers refering > to? The frame is aways relative to parent view. And bounds is simply the size of the view, so X/Y is normally 0/0. For getting real position you would need to add all position info from parent views together. And than you need to swap. Y = 0 is bottom for Cocoa while top for Xojo. Greetings Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
