Re: [IronPython] IronPython Silverlight 4 debugging... [No errors just not working]

2010-08-11 Thread Lukas Cenovsky
On 11.8.2010 19:11, Andrew Evans wrote: Ok well it doesn't look like my event handlers are even being called this is what I did def KeyDown_Control(self, s, e): if e.Key == Key.Right: print "Right Arrow" #self.canvas.SetLeft(self.ship, self.canvas.GetLeft(s

Re: [IronPython] IronPython Silverlight 4 debugging... [No errors just not working]

2010-08-11 Thread Andrew Evans
Ok well it doesn't look like my event handlers are even being called this is what I did def KeyDown_Control(self, s, e): if e.Key == Key.Right: print "Right Arrow" #self.canvas.SetLeft(self.ship, self.canvas.GetLeft(self.ship) + velocity) elif e.Key ==

Re: [IronPython] IronPython Silverlight 4 debugging... [No errors just not working]

2010-08-11 Thread Michael Foord
On 11/08/2010 17:34, Andrew Evans wrote: Hello I am running IronPython 2.7A and trying to debug a Silverlight app. I am trying to figure out why my ship doesn't move when I press the Arrow keys. here is the complete source minus most imports :D Put some debugging in (append text to an html div

[IronPython] IronPython Silverlight 4 debugging... [No errors just not working]

2010-08-11 Thread Andrew Evans
Hello I am running IronPython 2.7A and trying to debug a Silverlight app. I am trying to figure out why my ship doesn't move when I press the Arrow keys. here is the complete source minus most imports :D Any ideas from System.Windows.Input import * velocity = 10 class Gui(): def __init__(