GuiTextEditCtrl not working when ChatHud onscreen?
by David Wilson · in Torque Game Engine · 01/02/2005 (4:12 pm) · 2 replies
Hello -
I have a screen right before you log in to the server, it is a GuiChunkedBitmapCtrl. On this screen I put the MainChatHud where the player gets information I want them to see before they log in. This info comes client side, as we're not connected yet.
Also on this screen I have a GuiTextEditCtrl, which reads in pref::Player::Name, just like the default we are given except I have a Gui screen instead of a dialog, and I've added the MainChatHud to it.
Whenever the MainChatHud is on the screen, you can't change the text inside the GuiTextEditCtrl. If I go in and disable the MainChatHud, it works fine. If it's enabled, the GuiTextEditCtrl is totally locked out, the text is in there just fine, it's not greyed. But you can't change it.
Can anyone give me a clue here? Because I don't even know where to look for this answer.
Thanks
David
I have a screen right before you log in to the server, it is a GuiChunkedBitmapCtrl. On this screen I put the MainChatHud where the player gets information I want them to see before they log in. This info comes client side, as we're not connected yet.
Also on this screen I have a GuiTextEditCtrl, which reads in pref::Player::Name, just like the default we are given except I have a Gui screen instead of a dialog, and I've added the MainChatHud to it.
Whenever the MainChatHud is on the screen, you can't change the text inside the GuiTextEditCtrl. If I go in and disable the MainChatHud, it works fine. If it's enabled, the GuiTextEditCtrl is totally locked out, the text is in there just fine, it's not greyed. But you can't change it.
Can anyone give me a clue here? Because I don't even know where to look for this answer.
Thanks
David
About the author
Associate Kyle Carter