Page 1 of 1

Textbox issues using Ogre bindings

Posted: 02 Dec 2013, 23:13
by descala

I am having some trouble getting textboxes to accept input properly when using the Ogre bindings. Specifically, backspace doesn't appear to delete characters from the textbox. Because of this, the number of keystrokes the textbox will accept is limited to the MaxLength attribute value.

Am I doing something wrong, or is this a known issue?


Here is the relevant xaml:

<TextBox x:Name="TextBoxSMapIdealValue" HorizontalAlignment="Center" Height="21" Margin="0,0,0,8" TextWrapping="Wrap" VerticalAlignment="Bottom" Width="38.5" MaxLength="3" Background="#FF4E4E4E" Foreground="White" Text="0" FontSize="10.667">
		<LinearGradientBrush EndPoint="0,20" MappingMode="Absolute" StartPoint="0,0">
			<GradientStop Color="White"/>
			<GradientStop Color="White" Offset="1"/>

Re: Textbox issues using Ogre bindings

Posted: 03 Dec 2013, 18:40
by sfernandez

We just tried with the latest Ogre Bindings and it is working.
Can you confirm us you are using also the latest bindings?

We added a table for correctly converting Ogre key codes to noesisGUI key codes two months ago. We discussed about this change here: viewtopic.php?f=3&t=138

Re: Textbox issues using Ogre bindings

Posted: 03 Dec 2013, 19:11
by descala
Ah, I found I was using an old version of the bindings. Updating fixed it! Thanks!