Hello,
I’m trying to create a registration form and have a question for input text. I read through the forum, manual and api reference as well but I can’t find out why the behaviour I guess it should work but it is not worked as expected.
- GUI consists of : main.gui and main.gui_script attached.
- Add an input_text.gui to the main.gui as template which contains a text box
[Work]
If I add the code that listens the text_trigger to the main.gui_script, the text inputs are received.
[Not work]
When I separate the gui_script , add a input_text.gui_script to the input_text.ui template. Then move the codes to the new script. The key inputs are not received.
I also added the msg.post(".", “acquire_input_focus”) to the “init” function of the input_text.gui_script.
I added a print(“Load”) to the input_text.gui_script but it was not printed out . Thus the input_text.gui_script is not loaded and executed.
Thanks,
-RG1