Results 1 to 6 of 6

Thread: change text in a multicolumn listview

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I want to change the text in the first column of a row specified by the user. The reason is, the first column contains a number, and iff the user deletes a row, I want the numbers in the following rows to be reduced by one.
    I'm stuck on how to change the text.

  2. #2

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Nobody will even look?

  3. #3

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    anybody, please?

  4. #4

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I'm sorry, but, c'mon it can't be this tough.

  5. #5

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    this post got no responses yesterday, how about today?

  6. #6
    Guest
    You will have to change the values through a code loop.

    I would suggest that you redesign the box to have the
    numeric values show up on a separate column, if you can.

    At any rate, the code will read something like this:


    xxx=listbox.listcount-1
    for i = 0 to xxx
    replace current numeric value with i+1 (1 based numeric)
    next i



    Good Luck
    DerFarm

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