Re: Scalefactor positioning

2023-03-08 Thread J. Landman Gay via use-livecode
Thanks Bernd. Since all scaled coordinates are translated to card coordinates I guess I assumed the stack window position would be translated too. In retrospect it makes sense. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 8, 2

Re: Scalefactor positioning

2023-03-08 Thread Niggemann, Bernd via use-livecode
> J. Landman Gay wrote > I need to set the scalefactor of a stack and position it at the screenloc. on mouseUp local tScaleFactor, tScreenLoc, tNewStackLoc put the scaleFactor of this stack into tScaleFactor put the screenLoc into tScreenLoc put item 1 of tScreenLoc / tScaleFactor int

Scalefactor positioning

2023-03-08 Thread J. Landman Gay via use-livecode
I need to set the scalefactor of a stack and position it at the screenloc. set the scalefactor of this stack to 2 set the loc of this stack to the screenloc It doesn't work. The stack loc is always reported as the position of the stack at scalefactor 1.0 regardless of where it actually is o