Results 1 to 3 of 3

Thread: [RESOLVED] [2005] Buggy ListView HideSelection

  1. #1

    Thread Starter
    Hyperactive Member ZaNi's Avatar
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    360

    Resolved [RESOLVED] [2005] Buggy ListView HideSelection

    I need to let the users select from a list of options. All good and well, but I want it graphical only (or with little text). So I setup a listview to hold the pictures from which to choose and fiddle with the display of the icons so that they are comfy.

    The problem is that when I leave the ListView, the highlighted item is unselected. I changed the HideSelection property to False, but it persists! The really odd thing is that I have two different ListViews, and only one is exhibiting this behaviour.

    Thoughts?

    I've attached two pictures. The first is the setup I'm using, the second is after I choose an option for both then click somewhere else.

    Edit: I forgot to mention that when I change the view from SmallIcon to LargeIcon scrollbars appear even though the property Scrollable is set to False... maybe this is similar?


    Edit: I've seen someone else do inline attachments, so if someone could let me know how, that would be appreciated
    Attached Images Attached Images   
    Last edited by ZaNi; Jun 21st, 2006 at 06:20 PM. Reason: Forgot some things

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: [2005] Buggy ListView HideSelection

    As to attachments, if you attach a single image it will be displayed as an image. If you attach multiple images they will be displayed as links. If you want inline images then you need to upload your images to a Web server somewhere and then use the IMG tag to link to them. Just note that I use Firefox and I have selected to not display images that do not reside on the current server. Reduces the amount of advertising I see, but it will also mean that images displayed using the IMG tag will not be shown. I'm sure I'm not the only one like this. It's a good idea to at least indicate with words that an image is present and then folks like me can expressly view images for the current page.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member ZaNi's Avatar
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    360

    Re: [2005] Buggy ListView HideSelection

    Alrighty. I'm going to use pictureboxes instead of listviews to make this work. Just wanted to leave a not saying why this is resolved

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