TextArea won't invalidate properly (Shows old text as well as new).
Hi...
I'm trying to update the contents of a textArea from a freeRTOS task but I have a problem on the second iteration... it seems that the new text is written on top of the old ones... even if I call the Invalidate() methods as reported below:
void Screen1View::setMessage(char* message, int msglen)
{
textArea1.invalidate();
Unicode::strncpy(textArea1Buffer, message, msglen);
textArea1.setWildcard(textArea1Buffer);
textArea1.resizeToCurrentText();
textArea1.invalidate();
}
why is this happening ? shouldnt invalidate() do all the magics ?
thanks a lot,
Giampaolo