1. Chris Butler
  2. PowerBuilder
  3. Friday, 12 January 2024 17:26 PM UTC

Hi,

I have a question about the RibbonBar. Currently we have a small button that behaves like a dropdown menu. In order for the dropdown to appear, the user must click on the dropdown arrow next to the button. We have received feedback from customers they would rather click anywhere on the button, not just the arrow. Is this possible?

 

Accepted Answer
Peter Pang @Appeon Accepted Answer Pending Moderation
  1. Monday, 15 January 2024 02:17 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Chris

 

It can be achieved. You just need to set the DefaultCommand property in SmallButton to false, which is true by default.

For example: 

<SmallButton Text="Fit to Orginal Width" PictureName="FitWidthSmall!" Clicked="ue_ButtonFitWidthClicked" DefaultCommand="false">

 

Best Regards,

Peter

Comment
  1. Chris Butler
  2. Tuesday, 16 January 2024 17:15 PM UTC
Thank you Peter! This works as needed.
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.