Jump to content
Developer Wiki and Function Reference Links ×

Processing the selection one item in a list box that is already selected.


Recommended Posts

I have a list box with 15 items.  If I select an item, the dialog handling routine will tell me that the list box had a new item selected.  If I have 3 items selected and I select a different item, the dialog handling routine will tell me that the list box had a new item selected.  BUT, if I select one of the 3 already selected items, the dialog handling routine will not indicate that anything happened; even though the resulting display shows only 1 of the 3 currently selected.

I need to be able to determine when only one item, of multiple already selected items, is selected.  Can I do that?  How?

Link to comment

Sam, 

   Can you post some sample code? This is not something I want to mock up from scratch to investigate. Off the top of my head, I don't know if it can be done. It's been a while since I built a List Box and I don't remember what it did or where it is. Maybe I'm suppressing some painful memory, or maybe I'm just getting old.

 

Raymond

Link to comment

That code is buried in a long complex command managing 4 different cable inventories.  I'll try to cobble together a dialog with a list box, to post, but I'm running off to Montana in 2 days, and I won't have consistent internet access, so I'm not sure when it will go up.

 

Thanks,

Sam

PS: a List Browser is probably what I need to do, but those are way more complex to setup and maintain.  I would do it anyway if I could find some documentation, but all I can find are some examples.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...