Contents - Index


OnSetElementValueById

 

Type: Event

Parameters: String Id Integer Error

Returns: None

 

 

Async Return from setting the ElementValueById property

 

 

Example in DataFlex:

 

  

  Object oDocument is a cComAntViewDocument

    Set peAutoCreate to acAutoCreate

 

    Procedure OnComSetElementValueByName String llId Integer llError

      Showln llId llError

    End_Procedure

    

    Procedure ConnectBrowser

       Variant vBrowser

       

       Get pvComObject of oEdgeWebBrowser to vBrowser

       Set ComCurrentBrowser to vBrowser

    End_Procedure

    

  End_Object

  

  Object oEdgeWebBrowser is a cComAntView