Forum Discussion
Actually how can I able to access using the Click event and I'm using TdxRibbion and TdxBarManager->TdxBar->TdxBarLargeButton. So, currently the TdxBar is fully detected. But, I need to get the control of TdxBarLargeButton which is placed in the TdxRibbon.
And I have read the above link, it does not explains clearly that how can I able to access the TdxLargeBarButton. And should I need to do the changes in Delphi code or do the changes in TestComplete?. And in the Supported DevExpress components, they have not included the TdxBarLargeButton components. And DevExpress, also replied in this link.
Please provide me the detail explanation (like I need to add extra code in Delphi or change the settings in TestComplete) to access the TdxBarLargeButton from the Spy. If possible, please mention some example. Thanks in advance.
As mentioend, the large button is not something that you're going to access... you're going to use "ClickItem" to click on the specific part of your ribbon.
So, for example, to click on "New", you'll either do something like ClickItem(0) or ClickItem("New")
The buttons themselves are not supported controls... the ribbon bar is. Hence, you work with the ribbon bar. If your object is to click on the button, ClickItem should suffice.
Related Content
- 11 years ago
- 2 years ago