Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. ListView Label Edit help ?

ListView Label Edit help ?

Scheduled Pinned Locked Moved C#
helptutorialquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nematjon Rahmanov
    wrote on last edited by
    #1

    Hi. How i can edit listview item label like windows? For example , in my listview have item and its text is "MyFile.exe" . When i try edit, this label text selected fully:MyFile.exe. But , in vista text selected without extention:MyFile.exe How i can do it ? Thanks .

    We are haven't bug,just temporarily undecided problems.

    M 1 Reply Last reply
    0
    • N Nematjon Rahmanov

      Hi. How i can edit listview item label like windows? For example , in my listview have item and its text is "MyFile.exe" . When i try edit, this label text selected fully:MyFile.exe. But , in vista text selected without extention:MyFile.exe How i can do it ? Thanks .

      We are haven't bug,just temporarily undecided problems.

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Look into selectedtext, you can specify the start position and the length of the text to be selected.

      Never underestimate the power of human stupidity RAH

      N 1 Reply Last reply
      0
      • M Mycroft Holmes

        Look into selectedtext, you can specify the start position and the length of the text to be selected.

        Never underestimate the power of human stupidity RAH

        N Offline
        N Offline
        Nematjon Rahmanov
        wrote on last edited by
        #3

        Hi, Thanks for reply. In ListView cantrol haven't selectedtext , startposition. I'm using C# .net framework 2.0. I'm not shure , other .net framework versions have selectedtext property. Anybody help ?

        We are haven't bug,just temporarily undecided problems.

        M 1 Reply Last reply
        0
        • N Nematjon Rahmanov

          Hi, Thanks for reply. In ListView cantrol haven't selectedtext , startposition. I'm using C# .net framework 2.0. I'm not shure , other .net framework versions have selectedtext property. Anybody help ?

          We are haven't bug,just temporarily undecided problems.

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          You are right, then split the file name into 2 fields when you load the listview, that will give you the granularity you need. OR use another control!

          Never underestimate the power of human stupidity RAH

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups