Re: Cancelling events on a COM Object

2007-08-18 Thread Oliver Nelson
Roger, I tried modifying my code so that I have def OnBeforeClick(self, Button, Shift, X, Y, Cancel): print "click" Cancel = True return Cancel But this doesn't seem to have changed anything. Am I doing this wrong? OLIVER Roger Upole wrote: > O

Re: Canceling events on COM Objects in python

2007-08-18 Thread Oliver Nelson
nly a different model than the standard wx event system... OLIVER [EMAIL PROTECTED] wrote: > On Aug 17, 11:54 pm, Oliver Nelson <[EMAIL PROTECTED]> wrote: >> I have MapPoint working in Python, and I'm trying to cancel events on >> the map, but I can't seem to make that happ

Canceling events on COM objects

2007-08-18 Thread Oliver Nelson
I have MapPoint working in Python, and I'm trying to cancel events on the map, but I can't seem to make that happen. I'm responding to the events successfully in my panel object. My code is like this: global MapPointMod MapPointMod = win32com.client.gencache.EnsureModule("{51C0A9CA-F7B7-4F5A-

Re: Cancelling events on a COM Object

2007-08-17 Thread Oliver Nelson
James, I was getting an error everytime so I thought I had a setup problem... Sorry everybody... OLIVER James Stroud wrote: > Oliver, wait a while before you panic about your post not getting through! > > James > -- http://mail.python.org/mailman/listinfo/python-list

Cancelling events on a COM Object

2007-08-16 Thread Oliver Nelson
I have MapPoint working in Python, and I'm trying to cancel events on the map, but I can't seem to make that happen. I'm responding to the events successfully in my panel object. My code is like this: global MapPointMod MapPointMod = win32com.client.gencache.EnsureModule("{51C0A9CA-F7B7-4F5A-

Events in Com Object for Python

2007-08-16 Thread Oliver Nelson
I have MapPoint working in Python, and I'm trying to cancel events on the map, but I can't seem to make that happen. I'm responding to the events successfully in my panel object. My code is like this: global MapPointMod MapPointMod = win32com.client.gencache.EnsureModule("{51C0A9CA-F7B7-4F5A-

Canceling events from COM Objects

2007-08-16 Thread Oliver Nelson
I have MapPoint working in Python, and I'm trying to cancel events on the map, but I can't seem to make that happen. I'm responding to the events successfully in my panel object. My code is like this: global MapPointMod MapPointMod = win32com.client.gencache.EnsureModule("{51C0A9CA-F7B7-4F5A-

Canceling events from COM Objects

2007-08-16 Thread Oliver Nelson
I have MapPoint working in Python, and I'm trying to cancel events on the map, but I can't seem to make that happen. I'm responding to the events successfully in my panel object. My code is like this: global MapPointMod MapPointMod = win32com.client.gencache.EnsureModule("{51C0A9CA-F7B7-4F5A-

Canceling events from COM objects

2007-08-16 Thread Oliver Nelson
I have MapPoint working in Python, and I'm trying to cancel events on the map, but I can't seem to make that happen. I'm responding to the events successfully in my panel object. My code is like this: global MapPointMod MapPointMod = win32com.client.gencache.EnsureModule("{51C0A9CA-F7B7-4F5A-