Setting the popupmenu item in a RzMenubutton.

Home Forums Konopka Signature VCL Controls (formerly Raize Components) Setting the popupmenu item in a RzMenubutton.

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #1366
      Marcel Horsthuis
      Participant

        Hello,

        I use the RzMenubutton component with a popupmenu.
        How can I set the popup menu to the dropdown item I want.

        RzMenuButton.DropDownMenu.ItemIndex doesn’t exists.

        Thanks in advance.

        Marcel

      • #1373
        Ray Konopka
        Keymaster

          Hi,

          I’m not sure I understand what you are trying to accomplish. The TRzMenuButton does not have concept of selection (hence no ItemIndex property). The intent of the button is to present a popup menu when the user clicks the button. The user then selects the desired menu item from the popup menu.

          Ray

        • #1378
          Marcel Horsthuis
          Participant

            Hello Ray,

            It was not my finest hour when I posted this question, confused by the code completion possibilities.

            I used a pop-up menu with all radio buttons.
            I have to set the checked property if the menu item to accomplish this.

            Thanks anyway for your support and great components.
            (I made my own THhdbgrid as a descendent of TRzDbgrid.)

            Marcel

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.