CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    1

    List Selection Model





    I would like to implement a list box whose default behavior would

    be as if the control key were always held down. That is, for every

    element in the list, clicking on it would select or unselect that

    element without affecting other items that have been selected.


    Does anyone have any idea how I would go about doing this?

  2. #2
    Join Date
    Apr 1999
    Posts
    10

    Re: List Selection Model



    With AWT, construct a List and call setMultipleMode(true) on the list object.

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

Featured