The website uses Ajax and the button enables only after the selection of two combobox.
How to identity if the site button is enabled or disabled?
cheers.
The website uses Ajax and the button enables only after the selection of two combobox.
How to identity if the site button is enabled or disabled?
cheers.
Use the browser's DOM interfaces to access the button element. Once the page has been loaded, you can query the
TWebBrowser.Document
property for theIHTMLDocument2
interface, drill down to the desired button element, query it for theIHTMLElement3
orIHTMLButtonElement
interface, and then read itsdisabled
property.