What i am trying to do is use a ListBox in a control and be able to use most of the options the ListBox has from the control. For example i figured out how change the BackColor using somthing like this.
VB Code:
' GET BACKGROUND COLOR Public Property Get BackColor() As String BackColor = List1.BackColor End Property Public Property Let BackColor(ByVal NewBackColor As String) List1.BackColor = NewBackColor End Property
My Listbox in the Control is named List1 as you can see from the above code.
What i can't figure out is how to use Let and Get for the " List Feature in the Listbox "
Eg..
VB Code:
idx = List1.ListIndex writeINI List1.List(idx), "Index", "ListIdx", App.Path & "\settings.ini"
Can Anyone Help me out In how to get the rest of the features of this listbox to work with my control?
I will be searchign on google until i hear a responce or find an answer..
Thanks in advance for anyone who can help.




Reply With Quote