1. Yiannis Papadomichelakis
  2. PowerBuilder
  3. Thursday, 28 March 2024 13: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?



There are no replies made for this question yet.
However, you are not allowed to reply to this question.