Pointer tool in a standalone

Mark Talluto userev at canelasoftware.com
Tue May 31 11:38:16 EDT 2005


On May 31, 2005, at 8:23 AM, Ben Fisher wrote:

> For some reason, the pointer tool works perfectly in development  
> but not in
> a standalone.
>  In a project of mine, the user needs to resize and move graphics  
> on the
> screen. I could have manually coded this using mouseUp and  
> mouseDown, but
> Revolution has a built-in way to do this: the pointer tool. So what  
> I do is
> set the tool to "pointer tool." Then the user can move around  
> graphics, and
> it works perfectly. (I use the cantselect property to ensure the user
> doesn't move around something that should stay.)
>  This method works well in the development, even when "Suspend  
> development
> tools" is on. However, when the program is made into a standalone, it
> doesn't work. Setting the tool to pointer yields the pointer  
> cursor, but no
> graphics can be selected, even those with cantselect set to false.  
> I think
> this used to work before. (The cantmodify of the stack is false and so
> editing should be possible.)


Hello Ben,

Are your graphics in a group perhaps?
If so, take a look at:  selectGroupedControls    in the dictionary.


Mark Talluto
-- 
CANELA Software
http://www.canelasoftware.com



More information about the use-livecode mailing list