Am 05.08.2008, 20:07 Uhr, schrieb ROY ZINN <[EMAIL PROTECTED]>: > Thanks, > I read the Text.__init__ handler, the position relates to where the > text will be in relation with xy coordinates. I'm looking for the xy > coordinates to be on the top left of the control: > _____________________________________ > |xy - this is what i want to get | > | | > | | > | | > | | > _____________________________________ i would say i am > looking for something like : GetTopLeftCoordinates().....
Ahh, in this case you can just do something like Point = (0,100) text = Canvas.AddText( 'Some text', Point, Position = 'tl' ) xy = text.XY then xy will be (0, 100). A belated welcome to floatcanvas, -Matthias _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
