Would it be possible to make the systemrequest react to keyboard input?
Suggested behaviour is to be able to set a default action so that either Yes or No gets highlighted, and then use Enter. Also keypad arrows could be used to move the highlighed item from Yes to No.
SystemRequest keyboard inputs
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: SystemRequest keyboard inputs
Not really possible in an OS independent way because this is not supported on AmigaOS. On modern platforms it would be possible but on AmigaOS, standard requesters thru intuition.library don't support keyboard control.
Re: SystemRequest keyboard inputs
It is really quite long time since I used intuition.library directly...and had it different in my mind.airsoftsoftwair wrote: ↑Sat Mar 13, 2021 11:38 pm ... but on AmigaOS, standard requesters thru intuition.library don't support keyboard control.
Thus I looked into the Autodoc:
Code: Select all
intuition.library/EasyRequestArgs
...
struct EasyStruct
...
struct TagItem *es_TagList;
...
TAGS
...
ESA_Underscore - (TEXT) The character used in the gadget format
string to indicate that the following letter must be displayed
underscored and act as a gadget keyboard shortcut. If this tag
is not present, no underscoring is performed for compatibility.
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: SystemRequest keyboard inputs
Thanks for the clarification. I am sure, that it worked in my Amiga Classic Times. But maybe I mixed it up and I used reqtools...