Notifications
Clear all

[Closed] Dialog controls and Enter-key

Is it possible to press focused button using Enter-key in dialog? I thought this was going to be something so simple that you just use setFocus() on button and press Enter, but that doesn’t seem to work.

2 Replies
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

it’s easy. Check Interface: UIAccessor in MXS Help.
UIAccessor.PressDefaultButton()
UIAccessor.PressButton <HWND>hwnd

Thanks a lot denisT