Spot on Chris - Thanks, it worked :-)
-----Original Message----- From: Christopher Barker [mailto:[EMAIL PROTECTED] Sent: 14 December 2007 19:51 To: [EMAIL PROTECTED] Subject: Re: [fc] How to move a group of objects David Poundall wrote: > Tried the following but to no avail... > > R = FC.Rectangle((5, 5),(15, 8), FillColor="Red") > C = FC.Circle( (1, 3), 2, FillColor="Blue") > self.GroupA = FC.Group((R,C)) > G = MovingGroup(self.GroupA) MovingGroup is a subclass of Group, but it can't be created from one. This might work: G = MovingGroup((R,C)) Canvas.AddObject(G) G.Bind(FC.EVT_FC_LEFT_DOWN, self.FCObjectHit) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.1/1183 - Release Date: 13/12/2007 09:15 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.1/1183 - Release Date: 13/12/2007 09:15 _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
