.NET Development: Mouse events and Visual Studio form desginer
1 to 1 of 1
-
-
CommentAuthorSeanS
- CommentTimeJul 7th 2009
Just wanted to note that if you're seeing problems with mouse events (such as POI ToolTips and BalloonPushPin popup) not happening, it could be due to a problem in the Visual Studio form designer for GeoBase.
A line similar to this is being added:
Me.mapControl.HitHandler = CType(resources.GetObject("mapControl.HitHandler"), Telogis.GeoBase.IMapMouseHandler)
and it should not. This will override other mouse events so the ones normally handled by POIs and PushPins are no longer automatic.
We'll fix the form designer in a future release, but at the moment you can either remove that entry or set the HitHandler to NULL, with a call similar to this:
this.mapCtrl1.HitHandler = null;
after the call to InitializeComponent().
If you have any questions about this or are still having mouse event issues, you can post your question here. -
1 to 1 of 1
