0

I am trying to find out if a button is disabled....If it is , I want to enable it .

For example :

    if button disabled:
                self.convertButton.setDisabled(False)

So what can be button disabled be?

2
Contributors
1
Reply
11
Views
2 Years
Discussion Span
Last Post by Taywin
0

disabled is an attribute of HTML object. I don't know how you implement your button, so can't tell you how to check it. In HTML, it would be similar as ...

<input type="button" value="Not Clickable" disabled>
 ... or ...
<input type="button" value="Not Clickable" disabled="">
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.