When is a pointer tool not a pointer tool?

Graham Samuel livfoss at mac.com
Tue Oct 15 16:45:54 EDT 2013


Thanks Richard

I am seeing if your observation might have something to do with my problem. I built a little stack with a group (it's two graphics), one other graphic on top of the group, another elsewhere on the card. A button toggles the cantSelect of the group, and another button chooses the pointer tool. The idea was to test your observation. Surprise, with the pointer tool chosen and the cantSelect of the group set to true, the pointer tool can select either graphic, even though one is on top of the unselectable group. Perhaps I misunderstood your remark, but it seems to mean that it doesn't matter if i have a card with some kind of unselectable background object(s), selectable stuff on top of this background will continue to be selectable. For me the result is the same in the IDE as in a standalone. So back to the drawing board. I wish I could produce a really simple stack that would show the issue I'm having.

Graham


On 15 Oct 2013, at 18:16, Richard Gaskin wrote:

> Graham Samuel wrote:
> 
> > I have a button in a palette that selects the pointer tool. I check
> > that the pointer tool is active during a mouseDown in the script of
> > the card with the grcs on it, and just for safety, I re-choose the
> > pointer tool in this script. The cursor looks like a pointer tool,
> > but it doesn't act like one. The marquee you normally get on dragging
> > doesn't appear, and I can't select any of the objects on the card by
> > clicking. In fact this pointer tool is acting like the browse tool.
> 
> I've only seen that when in an area which has an object spanning the group with its cantSelect property set to true.
> 
> If that's not the case in your app (and it doesn't sound like it, since your app works in the IDE) I haven't a clue about the behavior you're seeing.
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> Follow me on Twitter:  http://twitter.com/FourthWorldSys
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list