Apologies for the kind-of unrelated questions in one, but I would like to make my MaxScript rollout/tool more intuitive by making it behave like any other GUI would be expected to.
Could anyone familiar with MaxScript tell me:
How do I 'disable' (grey out) a button?
How do I get the Enter key pressed event? (I.e. I have an EditText control. When enter is pressed anywhere in this form I would like to close the dialog (it is not a multiline control))
How do I give focus to a control? (I.e. I would like my rollout opened with CreateDialog to give focus to the EditText control so the user can start typing immediately)