Folks, I am struggling with an issue I reported before, but then I had other 
scripting errors making it unclear what was going on. Having now cleared these 
errors, I have the following situation:

1. I have a tools palette which permits the user to pick a graphics (vector 
drawing) tool such as 'rectangle'
2. When the tool is set, the user expects to create a graphic on one of two 
visible cards in the program
3. In the IDE this work perfectly.
4. In the standalone (equally on Mac and PC), on one of the cards (the card 
that matters to the user), the rectangle is drawn but it's always the same size 
(a small square), and in fact corresponds to what happens in the IDE if you 
pick a graphic tool and click without dragging. Logging tests reporting the 
value of cantSelect for the card and reporting the firing of the newGraphic 
handler show that it's all working apart from the drag: but the really strange 
thing is that on the other visible card, the graphic creation works perfectly. 
The difference I know about between the cards is that one has only a single 
field on it, the other has a lot of graphics already. I am not trying to draw 
on top of the graphics in these tests, although doing so does in fact work in 
the IDE.

The above shows definitively that I have done something to the 'problem' card 
which does not show up in the IDE but does show up in the standalone. I think 
this is by definition a bug, but before I attempt to report it, I would like to 
pin it down somehow.

Can anyone suggest a way of finding out what's going on? I am already looking 
at tool selection, mouseDown, newGraphic - and I can't see anything wrong. I 
don't know a way of checking that the ability of the tool to grab the handles 
of a graphic has been inhibited, which is what seems to be happening. Maybe 
there's a hidden property that does this?

TIA

Graham
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to