Found two ways of getting round this.  The easiest being is to use
event.skip() obviously.

 

Moving along though, it turns out that because I am not using the NavCanvas
in the 

Code I am writing, the event Binding on the code …

 

Circle = MovingCircle( (1, 3), 2, FillColor="Blue")

Canvas.AddObject(Circle)

Circle.Bind(FC.EVT_FC_LEFT_DOWN, self.ObjectHit)

 

(… lifted from the moving elements Demo) is not firing.  When it does, that
is to say

when I re-introduce the NavCanvas border, all is well.  The code drags as it
should.

 

I would like to be able to work without the NavCanvas if I can.  So my
question is, 

Have I found a bug or a feature :-)  

 

I am running with SVN revision 44 installed on an XP system.

 

Thanks in advance

 

David

 

 

   _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of David Poundall
Sent: 10 December 2007 22:45
To: 'Mailing List for the wxPython Float Canvas.'
Subject: [fc] FC / WX Event priorities

 

Good evening all 

 

I am trying to run a rectangle move event after having already instigated a
rectangle drop 

onto the canvas with wx.EVT_LEFT_DOWN binding.   The rectangle move operates
on the 

FC.EVT_LET_DOWN binding and it looks to be being overridden by
wx.EVT_LEFT_DOWN 

 

For simplicity sake it would be convenient if I could remove the
wx.EVT_LEFT_DOWN 

event in code until I need it again.

 

Would this be possible – if so could someone give me a syntax example.  

 

Thanks in advance

 

David


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 09/12/2007
11:06



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 09/12/2007
11:06



No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 09/12/2007
11:06
 
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to