From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,be6e28f854440947 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.internetdienste.de!newsfeed.velia.net!news.tu-darmstadt.de!news.belwue.de!news-zh.switch.ch!kanaga.switch.ch!switch.ch!news.uv.es!not-for-mail From: Manuel Collado Newsgroups: comp.lang.ada Subject: Re: How to get the mouse position with JEWL? Date: Wed, 20 Oct 2010 13:42:12 +0200 Organization: Universitat de Valencia Message-ID: References: NNTP-Posting-Host: acedia.ls.fi.upm.es Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: peque.uv.es 1287574930 14495 138.100.10.20 (20 Oct 2010 11:42:10 GMT) X-Complaints-To: newsmanager@uv.es NNTP-Posting-Date: Wed, 20 Oct 2010 11:42:10 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 In-Reply-To: Xref: g2news2.google.com comp.lang.ada:15600 Date: 2010-10-20T13:42:12+02:00 List-Id: El 20/10/2010 11:04, tolkamp escribi�: > I use JEWL in several of my applications. > Now I try to get the mouse position within a JEWL canvas by using the > function "End_Point(Canavas)". > The resulting mouse position (x,y) is always zero. What is going wrong? Please try: point := Start_Point( canvas ); It works for me. -- Manuel Collado - http://lml.ls.fi.upm.es/~mcollado