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
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 ==
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
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__(