Any way to trigger OK button in modal window through script (i.e. when pressing Enter key in Text Edit Box)?I have a modal window that asks user for text input using Text Edit Box.
For better user experience I'd like to make it so that when user hits Enter after typing in the input, it would be the same as user clicking OK button. Is there a way to do this?
win = New Window( "Text window",
<<MODAL></MODAL>
Data AccessData Blending and CleanupQuality and Process EngineeringRe: Any way to trigger OK button in modal window through script (i.e. when pressing Enter key in Text Edit Box)?You could use something like
<<SET function=""></SET>
but do note that this will also trigger if user clicks outside the text edit box.
View more...
Re: Any way to trigger OK button in modal window through script (i.e. when pressing Enter key in Text Edit Box)?I got this one!
win = New Window( "Text window",
<<MODAL></MODAL>