[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XForms] Exiting on Enter Key, Keypress ?
From: |
Jens Thoms Toerring |
Subject: |
Re: [XForms] Exiting on Enter Key, Keypress ? |
Date: |
Sun, 9 Apr 2017 19:13:19 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Patrick,
On Sat, Apr 08, 2017 at 09:28:24PM -0400, Patrick wrote:
> I would like to exit my application when the user presses the ENTER
> KEY, is there a way to do this?
The simplest way is probably to use an invisible button of
type FL_HIDDEN_RET_BUTTON in your form(s), which is activated
when <Return> is pressed. Then, in the callback, exit the
program.
> P.S as a side note. Tonight I am using Linux but I was able to
> recently install xforms on Minix. The Minix project has a few
> problems right now but there is a new networking stack and ISO CD
> support coming. It is a neat OS in that the drivers are in userland.
> Might be interesting for hacking hardware. If you need any help
> installing on Minix, let me know.
Nice to know, thank you!
Best regards, Jens
--
\ Jens Thoms Toerring ________ address@hidden
\_______________________________ http://toerring.de