OnSetElementValueById
Interface AntViewDocument
Type: Event
Parameters: String Id Integer Error
Returns: None
Asynchronous result of setting the ElementValueById property
Id contains the Id of the element which was set, Id is case sensitive.
Error is 0 when the element is set, or 1 if the element identified by Id was not found.
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
AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024