• Custom control (97)

    Author
    Topic
    #373843

    Custom control
    How do you use the OBJECT command from the FORM/REPORT DESIGN category of a command bar

    Viewing 0 reply threads
    Author
    Replies
    • #602235

      This is the same dropdown list that is (by default) the leftmost control on the Formatting (form/report) toolbar. Is is only enabled when you have a form or report open in design view, and then it is filled automatically.

      I don’t think you can use this for your own purposes. If you want a combo box on your toolbar, you must create it yourself in code:

      Dim ctlCombo As CommandBarComboBox
      Set ctlCombo = CommandBars(“MyCommandBar”).Controls.Add(msoControlDropDown)
      With ctlCombo

      End With

    Viewing 0 reply threads
    Reply To: Custom control (97)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: