Contents - Index


OnRequestElementValueByName

 

Type: Event

Parameters: String Name String Value Integer Error

Returns: None

 

 

Async Return from setting the RequestElementValueByName property

 

Example code in DataFlex:

  

  Object oDocument is a cComAntViewDocument

    Set peAutoCreate to acAutoCreate

 

    Procedure OnComRequestElementValueByName String llId String llValue Integer llError

      Showln "requesting elem value " llId " " llValue " error = " 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

     Set Location to 10 10