5 Replies - 466 Views - Last Post: 20 July 2011 - 02:04 PM Rate Topic: -----

#1 deery5000  Icon User is offline

  • D.I.C Addict

Reputation: 78
  • View blog
  • Posts: 966
  • Joined: 09-May 09

Listview list of names to posters and back to list again?

Posted 20 July 2011 - 01:03 PM

Hey guys

I have a list of movie names in a list view. The user clicks a button and the posters and names are displayed instead. I want to be able to change it back to the list again.

The problem im facing is the size of the rows stay the same as the pictures when there not even there, the text alignment isnt fully to the left either.

is there a way to return the listview to its original state?

id post a pic but ive used all of my 9.73mb

Kevin

Is This A Good Question/Topic? 0
  • +

Replies To: Listview list of names to posters and back to list again?

#2 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2263
  • View blog
  • Posts: 9,462
  • Joined: 29-May 08

Re: Listview list of names to posters and back to list again?

Posted 20 July 2011 - 01:29 PM

What about using an image hosting service?
Was This Post Helpful? 0
  • +
  • -

#3 deery5000  Icon User is offline

  • D.I.C Addict

Reputation: 78
  • View blog
  • Posts: 966
  • Joined: 09-May 09

Re: Listview list of names to posters and back to list again?

Posted 20 July 2011 - 01:32 PM

dont know what you mean??
Was This Post Helpful? 0
  • +
  • -

#4 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2263
  • View blog
  • Posts: 9,462
  • Joined: 29-May 08

Re: Listview list of names to posters and back to list again?

Posted 20 July 2011 - 01:40 PM

Information
Was This Post Helpful? 0
  • +
  • -

#5 deery5000  Icon User is offline

  • D.I.C Addict

Reputation: 78
  • View blog
  • Posts: 966
  • Joined: 09-May 09

Re: Listview list of names to posters and back to list again?

Posted 20 July 2011 - 01:44 PM

Such a stupid thing to post, would have expected more from you!!

How has that got to do with what im asking. I suggest you read my original post. Im looking to resize the control to its original state!
Was This Post Helpful? 0
  • +
  • -

#6 deery5000  Icon User is offline

  • D.I.C Addict

Reputation: 78
  • View blog
  • Posts: 966
  • Joined: 09-May 09

Re: Listview list of names to posters and back to list again?

Posted 20 July 2011 - 02:04 PM

SOLVED

the height of the rows are controls by the image List.

i originally created an image list to display the posters. I just change the image size to something smaller. fixed the problem
  'Create image list & resize images
        Dim imgList As ImageList = New ImageList
        imgList.ImageSize = New Size(10, 15)  <- changed image size
        imgList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit

        'assign image list to control
        ListView1.SmallImageList = imgList




hope this helps someone
Kevin

This post has been edited by deery5000: 20 July 2011 - 02:04 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1