Dumb question

How to make the enter key be equal to pressing a button in a dialog?

Enter equals selecting a dialog button already. (Atleast for DIALOG_STYLE_LIST)

Can I set it to be that specific dialog button? Because there's other buttons that preceed the dialog button where my dialog shows up (the spawn button).

Dialogs can have up to 2 buttons, where the left one is linked to the ENTER key and the right one is linked to the ESCAPE key, you can't change that.
Whatever text you put onto those buttons is up to you however.
Usually the left button has "SELECT", "OK", "YES" or something like that and the right usually has something like "CANCEL", "BACK", "EXIT" or "NO".

Forum Jump:

Users browsing this thread: 1 Guest(s)