Re: DEL as an accelerator



On Mon, Jun 12, 2006 at 06:44:19PM +0700, Beast wrote:
Hi,

How do I use  "DEL" and "ENTER" as an accelerator key?

Presently I use:
...
_Delete  => { accelerator => 'Del'},

...

But its not works, whilst using 'F8' is fine.

For enter, you need to make sure that the widget which you want to
receive the enter event is the default widget. This can be set using
properties. Do note, however, that if the user changes the focus away to
a different widget, that this widget will then receive an "activated"
event, rather than the widget you set to be the default widget. This may
not be what you want.

I don't know about delete.

-- 
Wouter Verhelst
NixSys BVBA
Louizastraat 14, 2800 Mechelen
T: +32 15 27 69 50 / F: +32 15 27 69 51 / M: +32 486 836 198



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]