none
MultiColumn Combobox easy RRS feed

  • General discussion

  • use object of visual basic for applications

    Microsoft Forms 2.0 ComboBox (AxMicrosoft.Vbe.Interop.Forms.AxComboBox)

    Use menú Choose Ítems (COM Components)

            AxComboBox.Clear()

            N = AxComboBox.ListCount

            AxComboBox.ColumnCount = 2

            REM ColumnWidths = 100 pt;5 pt (In Properties)

            AxComboBox.AddItem("R1 Columna 1", 0)

                  AxComboBox.set_List(0, 1,"R1 Columna 2")

            AxComboBox.AddItem("R2 Columna 1", 1)

            AxComboBox.set_List(1, 1,"R2 Columna 2")

            AxComboBox.AddItem("R3 Columna 1", 2)

            AxComboBox.set_List(2, 1,"R3 Columna 2")

            ValCol = AxComboBox.get_Column(1, 2) REM ValCol  = "R3 Columna 2"

           

           

    Monday, March 26, 2018 3:36 AM

All replies

  • Hello,

    Not sure what your post is about but one thing is clear it has nothing to do with VB.NET so I'm moving your post to Access for developers forum.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Monday, March 26, 2018 9:33 AM