/ Forums / Advansys Formativ / Creating Solutions with Formativ / TEmbeddedWB properties not implemented / Reply To: TEmbeddedWB properties not implemented

Support 3

Unfortunately ReadyState property not implemented in TEmbeddedWB.

However, you can use the following workaround to access the IHTMLDocument2 (http://msdn.microsoft.com/en-us/library/aa752574%28VS.85%29.aspx) from the window handle then use the ReadyState. You can also use other properties of the IHTMLDocument2 interface.

  dim oHTMLDocument

  if (Utilities.IHTMLDocumentFromViewHandle(myForm.Handle, oHTMLDocument) = 0) then
    msgbox oHTMLDocument.ReadyState
  end if

  msgbox myForm.ViewEmbeddedWB1.Busy

  set oHTMLDocument = nothing

Advansys Support