Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    IconMenuButton vs ToolStripMenuButton on click

    SmartClient Version: v9.1p_2014-04-29/Pro Deployment (built 2014-04-29)

    When I click on the Title of the ToolStripMenuButton, the menu opens.
    When I click on the Title of the IconMenuButton, the menu does not open; I have to click on the down-arrow icon to get the menu to open.

    Is there an option to specify that clicking anywhere on the IconMenuButton will open the menu to get similar behaviour to the ToolStripMenuButton?

    Thanks

    #2
    Hello,
    I am still seeking some clarification on the behaviour. Is there any additional information I need to provide?
    Thanks
    Last edited by stonebranch2; 9 May 2014, 13:36.

    Comment


      #3
      IconButtons support various click handlers: click(), iconClick() and menuIconClick() - by default, only this latter shows the button's menu.

      We've enhanced the docs for these APIs for clarity.

      In addition, as of builds dated May 11, there is a new attribute, IconButton.showMenuOnClick - setting this to true will cause clicks anywhere on the button to call showMenu().

      Comment


        #4
        Thank you, I will give this new attribute a go.

        Comment


          #5
          Verified as working in SmartClient Version: v9.1p_2014-05-11/Pro Deployment (built 2014-05-11).
          Thanks again.

          Comment

          Working...
          X