Skip to main content
Known Participant
Mar 24, 2010 6:50 PM UTC
Answered

Remove everything from a TextFlow

What's the fastest way to completely remove all the Flow elements from my TextFlow object? I don't want to kill the TextFlow and I need to keep the containers and composer. It's just the text I want to bin.

This topic is closed to new replies. Start a new post to keep the conversation going.
rdermerCorrect answer
Inspiring
Mar 24, 2010 11:02 PM UTC

textFlow.replaceChildren(0,textFlow.numChildren);

1 reply

rdermerCorrect answer
Inspiring
Mar 24, 2010 11:02 PM UTC

textFlow.replaceChildren(0,textFlow.numChildren);

Translate