Hello fowler,
self.grid1.Bind(wx.EVT_MOUSE_EVENTS, self.OnGrid1MouseEvents)
self.grid1.Bind(wx.EVT_LEFT_UP, self.OnGrid1LeftUp)
self.grid1.Bind(wx.EVT_MOTION, self.OnGrid1Motion)
You should bind the grid events, not the general mouse events, like, for
example:
wx.grid.EVT_GRID_CELL_LEFT_CLICK
I don't know about the motion events, though. Sorry if that does not help a
lot.
Andrea.
···
_______________________________________________
Andrea Gavana
Reservoir Engineer
MOGI ? Reservoir Characterization and Modeling Dept.
ENI S.p.A. ? Exploration & Production Division
Via Emilia, 1 ? 20097 San Donato Milanese (MI) ? Italy
Phone: +39 02 520 62972
Fax: +39 02 520 61824
E-mail: andrea.gavana@agip.it
Updated Internet Site: http://xoomer.virgilio.it/infinity77/
____________________________________________________
Eni S.p.A.
Sede legale in Roma,
Piazzale Enrico Mattei 1, 00144 Roma
Tel. centralino: +39 06598.21
www.eni.it
Capitale sociale 4.002.934.326 i.v.
Registro Imprese di Roma,
Codice Fiscale 00484960588
Part. IVA 00905811006
R.E.A. Roma n. 756453