Hi Again Jeff,

      Now for a list box you have all rolled into one and the property using 
FocusedIndex or method using SelectedIndex will give you the object index of 
the one which has focus or is selected.

  Long_Value = Object.FocusedIndex
  Long_Value = Object.SelectedIndex

      then you can get the data and text with the index in parens.

          Bruce



    Sent: Saturday, January 11, 2014 9:01 PM
    Subject: listbox change


    How can you find out when a focused listitem changes in a dialog?
    I am trying to use select case and it works fine when a button is pressed, 
but I want to find out when the user presses the up or down arrow in the list 
itself.
    thanks
    Jeff Weiss




------------------------------------------------------------------------------
          This email is free from viruses and malware because avast! Antivirus 
protection is active.




---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

Reply via email to