default button

  1. LucaMs

    B4J Question [SOLVED] B4XDialog - default button

    (Most likely this should be a "wish"). How to set a default button (one of the three) so that its click event fires when Enter is pressed? Note that I tried: xDialog.GetButton(xui.DialogResponse_Cancel).As(Button).RequestFocus but it doesn't seem to work. EDIT - I found a way, to improve...