Results 1 to 6 of 6

removing and replacing items in multi column listbox.

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    gold coast
    MS-Off Ver
    Excel 2007
    Posts
    843

    removing and replacing items in multi column listbox.

    Hello.

    Ive been having lots of trouble programing a multi column listbox to play ball. On the form there is 1 tree view and two listbox's.
    the object is to double click a list 1 item and have that go into the list 2

    Connected to the listbox2_dblClick.. Takes the selected list item and adds to columns 1 intergra value.
    This places a annoyance to me where listbox 2 is not fully populated (you will see ive fully populated the list during my own testing) and a item is selcted if double click on a blank part of the listbox it will increase the int value of the selected item.

    I though of populating the list with blanks (used "." as visual) so a cheek could be made on the double click item and if blank do nothing.

    Ive tryed looping the list loading into an array... Though i got close be .removeitem(0) if "." thoguh that failed once i loaded the tail end of the list back up with "." (this number will decrese on each unique list item being added, Not to disurb the scroll part repmaturly)

    A Code adventure that is a little trival and not 100% nessary, though even with sore eyes and head to match im not giving up just yet.

    The file probley explains it better than my senceless rants.

    cheers
    Attached Files Attached Files
    Last edited by D_Rennie; 12-13-2009 at 10:21 AM.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1