Hi,
My code for descri[ptive programming was working fine but when comes to create object of WPF type it fails.
Can anyone tell the reason for this?and solution.
I have installed them but even it is not recognising.
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
=======================================
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
==========================================