Menus and the pointer tool on Windows

John Dixon dixonja at hotmail.co.uk
Sun Apr 7 07:05:13 EDT 2013


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: livfoss at mac.com
> Subject: Menus and the pointer tool on Windows
> Date: Sun, 7 Apr 2013 12:54:14 +0200
> To: use-livecode at 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 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