X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 24 Oct 2006 12:59 PM by  anon
I want Enter/Return key from keyboard to be ignored in a Widget_Text
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
24 Oct 2006 12:59 PM
    I have a Widget_Text item that is editable. If the user edits the values in the text box then it is detected and the necessary steps are taken. If the user hits the Enter key on the keyboard the program crashes because it does not know how to handle that input. I want to be able to disable any input from the Enter/Return key from the Keyboard. How can I do this? Thank you.

    Deleted User



    New Member


    Posts:
    New Member


    --
    24 Oct 2006 12:59 PM
    try setting the '/all_text_events' keyword when you create the text widget. Since 'enter' is not a text event, it is ignored. Or at least it should be.
    You are not authorized to post a reply.