cantSelect and graphics

Graham Samuel livfoss at mac.com
Sat Nov 9 18:03:29 EST 2013


Thanks for the encouragement Monte - bug 11419.

Graham

On 9 Nov 2013, at 21:35, Monte Goulding wrote:

> This is rather quirky so you should bug report it.
> 
> On 10/11/2013, at 5:11 AM, Graham Samuel <livfoss at mac.com> wrote:
> 
>> I think the following is true for a desktop app:
>> 
>> If a the graphic drawing tool is chosen, the user can't draw the graphic if the drawing begins (the initial mouse down is positioned) on an object whose cantSelect is set to true: for example, if there is a rectangle with cantSelect set to true, you can't draw a new rectangle starting exactly on one of the lines of the original one, even though the new graphic is clearly on a higher layer than the original; and if the original one is opaque, you can't draw within the original one's rect at all. 
>> 
>> This has some very odd consequences for drawing apps where some kind of non-selectable background exists, such as axes for a graph-drawing program: in such a case you can't start drawing on the exact line of either of the (non-selectable) axes. There may be a workaround but the LC dictionary doesn't tell you what is.
>> 
>> Am I right about this, and is there a workaround? I think if there is, it's something to do with 'mouseDown'...
>> 
>> TIA
>> 
>> Graham
>> _______________________________________________
>> 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
> 
> --
> Monte Goulding
> 
> M E R Goulding - software development services
> mergExt - There's an external for that!
> 
> 
> 
> 
> 
> _______________________________________________
> 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