Hi Richmond,

How about this script in your master group?

on mouseDown
   clone me -- I named the group "RLMaster"
   set the name of last group to "RL"
   set the loc of group "RL" to the mouseLoc
   set the script of group "RL" to ""
end mouseDown

on mouseMove x,y
   if the mouse is "down" and there is a group "RL" then
      set the loc of group "RL" to mouseLoc()
   end if
end mouseMove

on mouseRelease
   if not within(grc "TL",the mouseLoc) then
      delete group "RL"
   end if
end mouseRelease


be well,
randy
-----
On May 7, 2014, at 12:30 PM, Richmond <[email protected]> wrote:

> On 07/05/14 20:18, J. Landman Gay wrote:
>> On 5/7/14, 7:50 AM, Richmond wrote:
>>> grab group "RL"
>> 
>> I've never been able to get this to work in any version of LC (or MC.) The 
>> only syntax I could use was "grab me".
>> 
> 
> Thanks.
> 
> Luckily I managed to get round that one:
> 
> http://andregarzia.on-rev.com/richmond/GR.zip
> 
> but it did take a bit of tooth-sucking.
> 
> Certainly I've a mind to enter that as an enhancement request:
> 
> one should be able to GRAB anything by name.
> 
> Richmond.
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Reply via email to