Path: news.daimi.aau.dk!not-for-mail From: Jacob Ilsų Christensen Newsgroups: comp.lang.beta Subject: KeyEvents in Lidskjavl Date: Tue, 01 Apr 1997 12:02:51 +0200 Organization: daimi.aau.dk Lines: 20 Message-ID: <3340DD4B.4C7C@daimi.aau.dk> NNTP-Posting-Host: rupee.daimi.aau.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) Xref: news.daimi.aau.dk comp.lang.beta:11018 Hi. I am presently taking part in the development of a GUI-based application being written in BETA. There is a minor problem though. Suppose you have a small dialog-window. This could contain a cancel- and an ok-button for example. I now want to assing keys to the two buttons. Is there an easy way to do this. By this I mean, wether it is possible to define the key-events in terms of coordinates instead of WindowItems. This would prevent me from assigning the events to all of the items within the current window. Because as I see it if there are other buttons the key-events do not take effect when the mouse- cursor it placed over those... I hope someone can help me, Jacob. (firelake@daimi.aau.dk)