marvel@tut.cis.ohio-state.edu (Howard P. Marvel) (06/22/88)
I would like to be able to re-size portions of the hypercard screen that are drawn algorithmically. That is, it would be nice to be able to somehow shift the origin of a drawing around and double or halve the coordinates of the lines drawn. Now I can do that by using variables in my drag instructions, but there appears to be a way that I can change a hypercard property to do this more easily. Why do I suspect this? Because of a baffling problem. I have apparently reset such a property in a stack I am working on. My original drawings looked fine, but now the lines are too long (same scripts re-executed). Here is a more precise problem report. Choose the line tool. Suppose that put the mouseLoc reports (apparently correctly) that the mouse is at x,y. Now move the mouse to x+dx, y+dy, reported with put the mouseLoc. Now the weird part. Issue drag from x,y to x+dx,y+dy The result? A line from x-dx,y-dy to x+dx,y+dy. As a result, all the drawings in my stack that used to look fine now run off the screen. What property have I reset inadvertently? And how might I have done the deed? Thanks in advance.