hi guys,
i’m trying to change the text from a textblock, but it doesn’t change the text just displays the new text within the old text. i’m using the ChipWorkX dev. board
<TextBlock Name="text" X="0" Y="45" Width="480" Height="272" Alpha="255" Text="Please enter you PIN code slowly" TextAlign="Center" TextVerticalAlign="Center" Font="4" FontColor="000000"/>
static void btnOne_TapEvent(object sender)
{
TextBlock code = (TextBlock)windows[2].GetChildByName("text");
code.Text = "1";
code.Invalidate();
}
any ideas?