09-30-2022, 10:21 AM
I have a TIWText component called MyText.
I do
-- Any ASYNC event (for example OnAsyncClick of a TIWButton)
MyText.Text := 'My awesome text';
-- End of Any ASYNC event
The first time I see rendered the text 'My awesome text'.
If I run again the ASYNC event (I click again on the button), the TIWText does render nothing. Empty HTML.
If I use this workaround
-- Any ASYNC event (for example OnAsyncClick of a TIWButton)
MyText.Lines.Clear;
MyText.Lines.Add('My very beautiful text');
-- End of Any ASYNC event
Then everything work great.
Tried in 15.2.56 (D11.2), no other versions.
Thanks,
Eddy
I do
-- Any ASYNC event (for example OnAsyncClick of a TIWButton)
MyText.Text := 'My awesome text';
-- End of Any ASYNC event
The first time I see rendered the text 'My awesome text'.
If I run again the ASYNC event (I click again on the button), the TIWText does render nothing. Empty HTML.
If I use this workaround
-- Any ASYNC event (for example OnAsyncClick of a TIWButton)
MyText.Lines.Clear;
MyText.Lines.Add('My very beautiful text');
-- End of Any ASYNC event
Then everything work great.
Tried in 15.2.56 (D11.2), no other versions.
Thanks,
Eddy