06-21-2008, 02:40 AM
I have the same problem. I do not create the wpfbutton in the OR because the text of the button will be changed. But I cannot create the wpfbutton in PD.
Anything I do wrong?
Thank you very much
=======================================
==========================================
Anything I do wrong?
Thank you very much
=======================================
Code:
Set CashButtonDesc = Description.Create
CashButtonDesc("text").value = szCashText
CashButtonDesc("wpftypename").value = "button"
CashButtonDesc("x").value = "854"
CashButtonDesc("y").value = "8"
If WpfWindow("Main").WpfButton(CashButtonDesc).Exist Then
WpfWindow("Main").WpfButton(CashButtonDesc).Click
End If