<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY id=role_body style="FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Verdana"
bottomMargin=7 leftMargin=7 topMargin=7 rightMargin=7><FONT id=role_document
face=Verdana color=#000000 size=1>
<DIV>
<DIV>
<DIV><FONT style="BACKGROUND-COLOR: transparent" face=Arial color=#000000
size=2>>I'd like to use a group as a mask object. That way when objects
are <BR>>dragged they are clipped at the edge of the group unlike the current
<BR>>situation whereby the object can be dragged willy nilly over the
<BR>>interface.<BR>><BR>>My question is how can we choose the image
tool and draw an image in <BR>>the group during runtime? I remember
doing this years ago but have <BR>>since lost that stack.<BR><BR>Hi
Simon:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Welcome back. I've been 'awal' also for about 2
years myself, and yes the MC IDE is well supported (I'm still on 2.51 so cannot
apply metal effect but renewing to an Enterprise licence allowed me to upgrade
from 2.4 without a problem).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As far as limiting objects within a group goes, I
did this by trapping mouseMove and setting the object loc to the mouseLoc only
if the object top> grp top, bottom< grp bottom, left>grp left and
right< grp right.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/H</FONT></DIV>
<DIV></DIV><FONT size=1></FONT></DIV></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT lang=0 face=Verdana size=1 FAMILY="SANSSERIF"
PTSIZE="8">_________________________________________________<BR><B>Hugh
Senior</B><BR>The Flexible Learning Company<BR>Consultant Programming &
Software Solutions<BR>Fax/Voice: +44 (0)1483.27 87 27<BR>Email: <A
href="mailto:admin@flexibleLearning.com">mailto:h@flexibleLearning.com</A><BR>Web:
<A
href="http://www.flexiblelearning.com/">www.flexibleLearning.com</A></FONT></DIV></FONT></BODY></HTML>