setTypedText & Unicode::snprintf on the same textArea
i have a textArea called endPoint_Value which i would like to write both text from the TypeText ids using the setTypedText, but i also on different occations need to use the Unicode::snprintf & Unicode::snprintFloat
The textArea has a wildcard and buffer applied to in in TouchGFX Designer
Unicode::snprintf ( endPoint_ValueBuffer, ENDPOINT_VALUE_SIZE, "%d", *( menu_ActiveEndPoint->Value_u8 ) );
Unicode::snprintfFloat ( endPoint_ValueBuffer, ENDPOINT_VALUE_SIZE, "%02.1f", *( menu_ActiveEndPoint->Value_f ) );
endPoint_Value.setTypedText ( TypedText ( T_MNUDEVICE_CONFIG ) );each of these line work perfectly and the text changes as expected.
However, as soon as i use the "setTypedText" the "snprintf" no longer seems to work on the textArea.
I do use the endPoint_Value.invalidate ();
It seems the textArea is no longer attached to the wildcard or something like that. i've tried the endPoint_Value.setWildcard (endPoint_ValueBuffer);, but that hasn't helped.
Any suggestions whats happening ?
Cheers
