Results 1 to 1 of 1

Thread: It's a listview question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2004
    Location
    west
    Posts
    96

    It's a listview question

    Hi everybody

    I have a question to ask....let's take a look at the screen capture that i have attached.....when i click on the combobox and choose the "Sgl_Ind_Span 32" and i will see "Single indication" appears 32 times in column 4 which is the subitems number 3 and this is what i wanted and it has already been done........however, i want the
    the info in the column 3 (subitem 2) to be also duplicate 32 times...........but the column 6 (subitem 5) is abit different.....in the screen capture it appears to be 128/0...........i want it to be incremented in the following: in reality it is not nessecary to be the number of 128, it will be any number the user key in

    128/0
    128/1
    128/2
    128/3
    128/4
    128/5
    128/6
    128/7 and continues
    129/0
    129/1
    "
    "
    129/7

    part of the code shown as follows : (the following dupilcates 32 single indications in column 4 of the listview)

    teststring = "Single indication"



    For j1 = 0 To 31
    If sinForm9.ComboBox1.Text = "Sgl_Ind_Span 32" Then ' to duplicate 32 entries at the same time if Sgl_Ind_Span 32 is chosen
    ListView3.Items(Litems1(0) + j1).SubItems(3).Text = teststring
    End If

    Next

    thank u very much if anyone could help me...............
    Attached Images Attached Images  
    Last edited by chioman; Aug 30th, 2005 at 01:22 AM.

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