05-16-2016, 04:27 PM
I try with this code:
In each case, count is equals to 0.
Why?
Code:
Set txtElem = WpfWindow("myApp").WpfEdit("ProcessCode")
Set objelem = txtElem.Object
'First test
Set triggerColl1 = objelem.Triggers
MsgBox triggerColl1.Count
'Second test
Set styleObj1 = objelem.Style
MsgBox styleObj1.Triggers
Set oo = styleObj1.Triggers
Msgbox oo.Count
In each case, count is equals to 0.
Why?