- Yiannis Papadomichelakis
- PowerBuilder
- Thursday, 28 March 2024 01:32 PM UTC
I am exploring the RibbonBar control. I see that in order to obtain the button's tag, I have to use functions like GetSmallButton(), GetLargeButton() etc.
There is the GetItem() which also gets the item but it returns it on a powerObject variable and I have to write code using classname() in order to use the right variable type, to host the content of the powerobject variable and, in the end, to read the items's tag.
I understand that the required code is not difficult to write and understand but I am really wondering, why nobody thought of creating a common ancestor for all these objects that will contain all the common properties?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.