| || |
Enabled property of a button
When capturing/identifying the properties of a javabutton, it doesn't have the enabled property. I tried to modify the attach profile for a java button, but enabled is not even a property. I am at a loss b/c this should be a standard property that should be checked, so I am thinking that maybe I need to do something else.
I can write an if statement that checks if the button is enabled or not, and that is working fine. But I need to be able to check that when the screen loads, the property check determines if it is enabled or not.
Re: Enabled property of a button
I have done the same thing for HTML Edit Box as is shown in the code below:
May be you can try the same thing for JAVABUtton by replacing HTMLEditBox with JavaButton
If check returns True then it means that The object is enabled...else not..
Dim o As Object
Set o = HTMLEditBox("OrderType").Object
check = o.ownerDocument.activeelement.iscontenteditable