+ Reply to Thread
Results 1 to 2 of 2

Listbox Click event

  1. #1
    Registered User
    Join Date
    05-22-2008
    Posts
    74

    Listbox Click event

    I have a userform on which there is a list box. When the user clicks an item in a multiselect list box I want a total to appear in a textbox on the same form. The problem is that the listbox click event isn't firing. I have a breakpoint set at the click even and it never breaks there.

    How is the click event supposed to work?

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello scottintexas,

    The Click Event only functions when the ListBox has the MultiSelect property set to fmMultiSelectSingle. When the list box MultiSelect property is set to fmMultiSelctMulti or fmMultiSelectExtended use the Change event to monitor the user's selections. Use the Selected(index) property in a loop to check which items were selected.

    Sincerely,
    Leith Ross

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1