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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.13.241.132 with SMTP id a126mr25769856ywf.2.1448317171418; Mon, 23 Nov 2015 14:19:31 -0800 (PST) X-Received: by 10.182.73.167 with SMTP id m7mr331663obv.11.1448317171385; Mon, 23 Nov 2015 14:19:31 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f78no1739201qge.1!news-out.google.com!f6ni11455igq.0!nntp.google.com!mv3no942955igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 23 Nov 2015 14:19:31 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=217.128.107.241; posting-account=O3LyFwoAAACc1uh60ZcOUmAGdDmGsEcV NNTP-Posting-Host: 217.128.107.241 References: <5f76d6a8-f733-4f36-89df-56eefcd795f8@googlegroups.com> <33bdc708-11fa-4091-8569-9436397e1695@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Gnoga Callback Handlers with user data From: slos Injection-Date: Mon, 23 Nov 2015 22:19:31 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:28513 Date: 2015-11-23T14:19:31-08:00 List-Id: Le lundi 23 novembre 2015 18:41:28 UTC+1, Jeffrey R. Carter a =E9crit=A0: > On 11/23/2015 03:44 AM, slos wrote: > >=20 > > Well, that's what I would like to achieve but cannot figure out how. > > Since what I get in the handler is the whole UI data, how can I figure = out which element has triggered the event ? >=20 > You might want to look at the Mine_Detector demo. There's a whole array o= f > buttons in there with only one On_Click handler. >=20 > --=20 > Jeff Carter > "Now look, Col. Batguano, if that really is your name." > Dr. Strangelove > 31 Dear Mister Carter, Thanks for pointing this example. I've been studying first the tutorials and wanted to go then after to the d= emos. But for sure I can learn a lot from them. I've been also through the tests which are also very informative. Anyway, I think I've got my answer. Let's see what I can do with it now. Best regards, St=E9phane