VS 2008 Using ObjectListView-VBForums
Results 1 to 4 of 4

Thread: Using ObjectListView

  1. #1

    Thread Starter
    Hyperactive Member wornways's Avatar
    Join Date
    Mar 2010
    Posts
    261

    Using ObjectListView

    Hi folks,

    I have added a freshly compiled ObjectListView.DLL to my VB.NET project and I've added a ObjectListView control to my form. But, thus far I have been unable to do anything with it except make it throw exception errors of various kinds.

    Does anyone here have experience with ObjectListView? If so, can I see some simple examples of how to use it using VB code? I know I'm not supposed to use it using the same syntax that ListView uses, but the documentation for this control is as well developed as MSDN's for ListView--which is to say vague to nonexistent.

    Any help would be vastly appreciated. I can't use ListView because it gives me no control over row height and cell padding. Both need to be minimal, but with the defaults used by ListView, you could move in and and make a living between the entries. Too much space. I need things compact because the application I'm developing needs all the real estate it can get for other purposes.

  2. #2

    Thread Starter
    Hyperactive Member wornways's Avatar
    Join Date
    Mar 2010
    Posts
    261

    Re: Using ObjectListView

    We've decided to just use ListView and to figure out how to control the row height and the left-edge margin. Basicaly, we want to have the text within each row only a pixel or two from the top, left, and bottom of each cell (and by extension the row).

    Any ideas will be appreciated.

  3. #3
    PowerPoster kevininstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    5,933

    Re: Using ObjectListView

    Have you considered a DataGridView?
    For instance to set row height

    Code:
    DataGridView1.RowTemplate.Height = 8

  4. #4

    Thread Starter
    Hyperactive Member wornways's Avatar
    Join Date
    Mar 2010
    Posts
    261

    Re: Using ObjectListView

    You know what, Kevin? No. I haven't given DataGridView the time it might deserve. I'll check into this more proper like and get back to you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.