This discussion is archived
3 Replies Latest reply: Nov 26, 2012 10:39 AM by edward17 RSS

How to clear a webview

edward17 Newbie
Currently Being Moderated
I am using a webview for the text content of a message box implementation. (I need formatting.)

the problem is, when the message box is reused, the screen first shows the OLD content very briefly before showing the new content. This disturbs the users.

I tried calling
msgBoxMsg.getEngine().loadContent("<html><head><title></title></head><body></body></html>")
onClose just before the stage is hidden, but the old text still appears next time, as if this call is never made.

Help?

Edited by: edward17 on Nov 10, 2012 5:57 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points