HTML OLE help (OpenInsight 32-bit)
At 28 DEC 2012 03:24:12PM Martin Drenovac wrote:
I have a simple form with an OLE control set to about:blank & a button which on the click executes the following few lines of code:
call send_Message(invoice_message_text$, "OLE.document.open" )
call send_Message(invoice_message_text$, "OLE.document.write", body )
call send_Message(invoice_message_text$, "OLE.document.close" )
the 'body' displays perfectly inside the ole control.
I then want to re-display a new 'body'. On clicking the button, the body doubles up rather than overwriting the ole control.
What do I need to issue to make the control clear first, prior to the re-display of the new body content?
TIA
At 29 DEC 2012 04:29AM Richard Bright wrote:
Can you do it this way -
Stat = Set_Property( MyOLEControl,'Document.Body.InnerHtml',body)
where Body = Html page content
Richard
At 29 DEC 2012 05:10PM Martin Drenovac wrote:
morning Richard - well that works.
I'm sure I've had instances of where that blows OI up, & so I changed.
However, all good now - cheers and Happy New Year mate..
At 30 DEC 2012 12:20AM Richard Bright wrote:
Happy New Year to you and yours from right down under.
Maybe others have smarter, better or alternative suggestions?
Cheers from Middle Earth….. and we have at least 2 committed to Nashville Revelation Conference; whoopee!
Richard