|
TimM escribió:
> If you create a dialog and you want to have an OK button with an
> accelerator of Enter - how do you specify this?
> I notice the OK Cancel presenter (provided in the default dialog you
> get when you create a new view) seems to have this behavior but I'm not
> sure where the code for this is located so I could have a look.
> Anyone have any tips?
Yes, set the #isDefault attribute of the push button to true.
Best regards,
--
Esteban.
|