Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'd like to add a property to my custom control, that uses a combobox editor, populated with the names of other controls in it's parent.
I already have an arraylist, or string(), containing the names of the controls to be populated but what's the best way of going about this.
I understand Enums will create the right appearance, but I'd rather not use an enum programatically.
VB
Public Property FlowItemJoins As ArrayList
    Get
        Return marrControlNameList
    End Get
    Set(value As ArrayList)
        marrControlNameList = value
        panel.Refresh() 'Forces the repaint of it's parent
    End Set
End Property
Posted

1 solution

Rude. I didn't want an answer anyway.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900