How do you access the Point object in DigitizePoint()? The documentations says that you pass it a function as a handler, and it passes a Point parameter to that function.<br><br>The first problem is that my taskpane does not know what a point is, so I made one:<br><br>function Point(x,y) {<br> this.x = x;<br> this.y = y;<br> }<br><br>Next I made a Point object named "o":<br><br>var o = new Point(1,0)<br><br>Next I made a handler for DigitizePoint:<br><br> function digitizePointHandler(o)<br> {<br> <br> }<br><br>Next I called the DigitizePoint function from another function:<br><br> function getDigitizePoint()<br> {<br> f = new digitizePointHandler(o)<br>
parent.ViewerFrame.mapFrame.DigitizePoint(f)<br> alert("o.x is" + o.x)<br> }<br><br>Hopefully DigitizePoint() takes that o parameter and fills it with the x and y points that the user's mouse has clicked. However, the final alert shows that o.x is still the same as it was in the beginning.<br><br>Any help would be appreciated.<br><p> 
                <hr size=1><a href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><b>All new Yahoo! Mail </b></a>
<hr size=1>Get news delivered. Enjoy RSS feeds right on your Mail page.