Page 1 of 1

StringGadget3D - Howto Backspace

Posted: Wed May 25, 2011 9:30 pm
by auser
Currently I try to test the Window3D functions and I wonder how I can use the StringGadget3D in a usefull way if I don't know where my cursor is placed and backspace is not working via InputEvent3D? I can replace the cursor in my StringGadget3D via the Mouse into the mid of the already typed string. I can even mark everything via mouse and overwrite it. But backspace does not work. If I try to just catch some backspace via inkey and remove the last char from the end of the current typed string it's too less if I don't know my pos. The cursor could be already somewhere else in the mid of the string. The input even seems somewhat laggy to me. I've tried a single "if some examine mouse or keyboard and even via while...". Did somebody seriously used that stuff already?

Greetings,
auser

Re: StringGadget3D - Howto Backspace

Posted: Wed May 25, 2011 10:31 pm
by PMV
The only thread i remember is this: http://www.purebasic.fr/english/viewtop ... 16&t=43917
same question, no response ... so i think no. :)

If your question was related to the whole lib: http://www.purebasic.fr/english/viewtop ... =4&t=40837
(PB4.60B3 uses the same CEGUI-Version, so i doesn't think that there has anything changed yet)

MFG PMV

Re: StringGadget3D - Howto Backspace

Posted: Thu May 26, 2011 8:05 pm
by auser
PMV wrote: If your question was related to the whole lib: http://www.purebasic.fr/english/viewtop ... =4&t=40837
(PB4.60B3 uses the same CEGUI-Version, so i doesn't think that there has anything changed yet)
Oh no... :? ... Thanks for your answer anyway.