Results 1 to 5 of 5

Thread: List Box's

  1. #1

    Thread Starter
    Addicted Member Geoff Gunson's Avatar
    Join Date
    Jun 1999
    Posts
    241
    Hi

    I have a list box set to the checkbox style.

    I want to know if it is possible to disable a single list item or is it only possible to disable the whole control?

    Thanx

    G:)

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    Geoff. I don't think it can be done.

  3. #3

    Thread Starter
    Addicted Member Geoff Gunson's Avatar
    Join Date
    Jun 1999
    Posts
    241
    Fair enough

    Thanks anyway

    G:)

  4. #4
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Fake it...

    you could fake it...

    Code:
    Private Sub List1_Click()
    If List1.Selected(1) = True Then
    Beep
    List1.Selected(1) = False
    End If
    End Sub
    maybe also...

    remove the item...then re-add it as "....."

    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  5. #5
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    But with that, the user still can selected the item and a select-deselect effect will be saw. Not a good method too.

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