Results 1 to 3 of 3

Thread: ListView - Invalid Property Value

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    Montreal, Quebec
    Posts
    400

    Question ListView - Invalid Property Value

    I'm new at using ListView. The following returns an Invalid Property Value message
    Code:
          .Item(1).SubItems(ColumnCounter + 1) = NewData(ColumnCounter)
    What am I doing wrong?

  2. #2
    AIS_DK
    Guest
    Either NewValue doesn't return a string or something, that can to transformed to a string, like a number.

    Or the columncounter variable contains a number, that is too high. The first subitem of a given item has index 1.

    Hope this helps

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    Montreal, Quebec
    Posts
    400
    Thanks AIS_DK - it was a problem with the columncounter being too high.

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