Nimeshika
9 years agoContributor
A button has no Class and shows enabled property as "true" even when the button is disabled.
Hello,
My window has a button which looks like other buttons around it.
1>But it is not having Class as other buttons .
2>The button shows the name "HIS" on it but when I spy the Caption and NativeVBobject is shown just as Label3.
3>When button is enabled or disabled always it shows Enabled property as "True".(Leads to fail my validation when button is disabled)
I tried:
1> adding its neighbor button's Class to text recognition.
2>Manually traced for "HIS" name in object browser tree.
I am attaching the spied properties:
Kindly help me validate when the button is disabled.
Regards,
Nimeshika