3 Replies Latest reply: Nov 26, 2012 12:39 PM by edward17 RSS

    How to clear a webview

    edward17
      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