Results 1 to 5 of 5

Thread: [RESOLVED] [2008] ListView and columns

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    Resolved [RESOLVED] [2008] ListView and columns

    Hi,

    If there is possibility in ListView that the user he will not be able to change the width of the columns?

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2008] ListView and columns

    I believe you'll need to do this by deriving your own control from the ListView control. I imagine you'd have to handle a mouse related event such as drag or mouse move, and prevent it from resizing the columns by giving it a specific width.

  3. #3
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: [2008] ListView and columns

    Or use a DataGridView instead.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    Re: [2008] ListView and columns

    Hi,

    If someone want to see the solution:
    http://www.vbcity.com/forums/goto.as...497&rid=503666

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [RESOLVED] [2008] ListView and columns

    I like how the second poster linked to vbforums.

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