Setting Focus on the Cells of a ListView


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Setting Focus on the Cells of a ListView

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Setting Focus on the Cells of a ListView

    [Originally posted by Mr. D]

    Hello.

    I have a form with a listview control. Is it possible to set the focus on different cells of the listview? I noticed that you can only focus on the first column cells or have the entire row highlighted when you click somewhere on the listview. Pressing the Tab key from the first column cell moves the focus to the next control on the form. Likewise, pressing arrow keys don't present a solution. Can the focus be placed on the different cells of a row?

    Thank in advance!

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Setting Focus on the Cells of a ListView

    [Originally posted by janh@selectlegal.co.uk]

    Not with a listview, I would suggest you change to a grid control such as the msflexgrid

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center