Results 1 to 21 of 21

Thread: ListBox Control [CONTINUED]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2004
    Posts
    129

    Question ListBox Control [CONTINUED]

    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:
    1. ' GET BACKGROUND COLOR
    2. Public Property Get BackColor() As String
    3.     BackColor = List1.BackColor
    4. End Property
    5. Public Property Let BackColor(ByVal NewBackColor As String)
    6.     List1.BackColor = NewBackColor
    7. 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:
    1. idx = List1.ListIndex
    2.            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.
    Last edited by SllX; Feb 8th, 2005 at 04:38 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width