Sadly, my users aren't that sophisticated. They get one chance to pick the 
pointer tool, and then they expect to mess with the objects in a particular 
window set aside for the purpose. The Windows ones probably have no idea about 
the option key or its equivalent on their keyboards.

However, your idea does give me the idea that I might use a mouseDown handler 
on the card to check if the object(s) being manipulated are not the menu group. 
Hmm.

Thanks

Graham

On 7 Apr 2013, at 13:05, John Dixon wrote:

> Can you just use something simple like...
> 
> on mouseDown
>   if the optionKey is "down" then
>      grab me
>   end if
> end mouseDown
> 
> putting this in, or allowing access to a 'simple' 'grab me' routine in the 
> object that you wish to move ...
> 
> Dixie
> 
>> From: livf...@mac.com
>> Subject: Menus and the pointer tool on Windows
>> Date: Sun, 7 Apr 2013 12:54:14 +0200
>> To: use-livecode@lists.runrev.com
>> 
>> I guess this is another very naive question, but the answer is not easy to 
>> find in the LC documentation.
>> 
>> If I allow the user of a Windows desktop app access to the pointer tool so 
>> that he/she can move objects around, select them etc, how do I protect the 
>> menu group at the top of the window? I mean I don't want the user to be able 
>> to select the menu group at all, so that no selection handles appear and the 
>> menu goes on acting like a menu. Obviously I can protect the group from 
>> being deleted, but how to I protect it from being treated like just another 
>> object?
>> 
>> This issue clearly doesn't arise on Macs, which is why I've never 
>> encountered it before - the only object-manipulating programs I've written 
>> before were for Macs.
>> 
>> Puzzled, not for the first or indeed for the nth time, where n is a pretty 
>> large number.
>> 
>> 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
>                                         
> _______________________________________________
> 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


_______________________________________________
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