in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Adding items to C1Combo

Last post 02-20-2008 2:09 AM by C1_JohnAd. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-15-2008 11:30 AM

    Adding items to C1Combo

     How I add an item to the c1Combo in unbound mode (in designer and  Programmatically)

     Thanks

     


     

    Filed under:
  • 02-20-2008 2:09 AM In reply to

    Re: Adding items to C1Combo

    Hi,

    Programmatically we can add items to the C1Combo in the following manner:

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
    System.EventArgs) Handles MyBase.Load

    Me.C1Combo1.DataMode = C1.Win.C1List.DataModeEnum.AddItem

    Me.C1Combo1.AddItem("Item1")
    Me.C1Combo1.AddItem("Item1")
    Me.C1Combo1.AddItem("Item1")
    Me.C1Combo1.AddItem("Item1")
    Me.C1Combo1.AddItem("Item1")
    Me.C1Combo1.AddItem("Item1")

    End Sub

    However, in the designer there is no item collection available which can be
    used to add items in C1Combo.

    I hope this helps.

    Regards,
    John Adams

    wrote in message news:201995@10.0.1.98...
    How I add an item to the c1Combo in unbound mode (in designer and
    Programmatically)
    Thanks







    http://helpcentral.componentone.com/cs/forums/p/74342/201995.aspx#201995
Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.