Drag and Drop

Peter Haworth pete at mollysrevenge.com
Mon Feb 7 20:41:58 CST 2011


Thanks Jacqueline.  I guess I should look again at the IDE script and see what it does after a control has been dropped onto a card, I bet that would reveal all!

Pete Haworth

On Feb 7, 2011, at 6:34 PM, J. Landman Gay wrote:

> On 2/7/11 8:12 PM, Peter Haworth wrote:
>> 
>> Scott's script use templateStack and templateImage but he resets
>> those.  My testing has been done with a button so far and I don't see
>> anywhere where the templateButton is used.  I tried resetting it
>> anyway, but still the same result.  Would be nice to figure out
>> what's happening but it's not a big concern.
> 
> I think it must be an artifact of dragging a "selected" stack. The LiveCode tool palette objects also have blue-bordered backgrounds when they're dragged out. It looks like the color is the current hilitecolor.
> 
> You may be able to remove the false background color after the drop by specifying a different object to focus on, or using "select empty", or anything else that would force a redraw. (I really should read the RR scripts some day and stop guessing. I'm sure it's in there.) Maybe even a lock/unlock screen would do it.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> 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