Results 1 to 4 of 4

Thread: Help. how to insert new item to listview....

  1. #1

    Thread Starter
    New Member ruccoon's Avatar
    Join Date
    Feb 2001
    Posts
    13

    Question Help. how to insert new item to listview....

    I want to insert new item to listview from the beginning. It looks like new item always stay in the first line.

    Please, help me....
    cook cook every day

  2. #2
    AIS_DK
    Guest
    Try this:
    VB Code:
    1. Me.ListView1.ListItems.Add 1, , "ItemName"

  3. #3

    Thread Starter
    New Member ruccoon's Avatar
    Join Date
    Feb 2001
    Posts
    13
    o...amazing,,,
    thanks a lot.
    cook cook every day

  4. #4
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    try this out i hope it answers other questions you may come up with

    With ListView1
    .ListItems(1).SubItems(1) = hwndA
    .ListItems(2).SubItems(1) = "hello"
    .ListItems(1).SubItems(2) = "blank"
    End With
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

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