My bad; what I thought was a Editbox was a MultiLineEditbox.
Works now.
Search found 4 matches
- Wed May 08, 2019 21:21
- Forum: Help
- Topic: Editbox and EventTextAccepted
- Replies: 6
- Views: 12144
- Wed May 08, 2019 13:37
- Forum: Help
- Topic: Editbox and EventTextAccepted
- Replies: 6
- Views: 12144
Re: Editbox and EventTextAccepted
I am using OIS 'keyPressed' and 'keyReleased' to call two functions: void InjectKeyDown(CEGUI::Key::Scan x, unsigned int y){ CEGUI::System::getSingleton().getDefaultGUIContext().injectKeyDown(x); CEGUI::System::getSingleton().getDefaultGUIContext().injectChar(y); } void InjectKeyUp(CEGUI::Key::Scan ...
- Tue May 07, 2019 21:07
- Forum: Help
- Topic: Editbox and EventTextAccepted
- Replies: 6
- Views: 12144
Re: Editbox and EventTextAccepted
Enter key, yes.
- Tue May 07, 2019 20:06
- Forum: Help
- Topic: Editbox and EventTextAccepted
- Replies: 6
- Views: 12144
Editbox and EventTextAccepted
Hello, I have a Editbox set up so you can type into it / edit the text. The thing is the Event Subscriber to EventTextAccepted never gets called when return is pressed; It just goes to a new line in the editbox. editbox->subscribeEvent (CEGUI::Editbox::EventTextAccepted , CEGUI::Event::Subscriber(&a...