DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Marcel Gnoth Guest

    System.Windows.Forms.ListView doesn't update at runtime

    Hi,

    if I change during runtime the value of a subitem then the control doesn't
    show the change. Also calling update or refresh doesn't help.

    Is it a feature of the Beta or make I something wrong?

    <<lvwWorkerNames.Items(Index).SubItems(0).Text = Text>>

    bye Marcel


    --
    --------------------------------------------
    NTeam GmbH
    Marcel Gnoth

    Lietzenburger Str. 107, 10707 Berlin
    fon: +49 30 880975-0
    email: mgnoth@nteam.de
    www: www.gnoth.net

    Termin- und Infromationsmanagement im Krankenhaus
    www.charitime.de




  2. #2
    Shane Courtrille Guest

    Re: System.Windows.Forms.ListView doesn't update at runtime


    Hey Marcel.

    Try this

    lvwWorkerNames.Item(Index).SubItems(1).Text = Text

    It appears that the ListView.SubItems stores the actual listitem as SubItem(0)...
    weird..

    "Marcel Gnoth" <mgnoth@nteam.de> wrote:
    >Hi,
    >
    >if I change during runtime the value of a subitem then the control doesn't
    >show the change. Also calling update or refresh doesn't help.
    >
    >Is it a feature of the Beta or make I something wrong?
    >
    ><<lvwWorkerNames.Items(Index).SubItems(0).Text = Text>>
    >
    >bye Marcel
    >
    >
    >--
    >--------------------------------------------
    >NTeam GmbH
    >Marcel Gnoth
    >
    >Lietzenburger Str. 107, 10707 Berlin
    >fon: +49 30 880975-0
    >email: mgnoth@nteam.de
    >www: www.gnoth.net
    >
    >Termin- und Infromationsmanagement im Krankenhaus
    >www.charitime.de
    >
    >
    >



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
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links