Determine dble-clicked item in Multiselect List Box

  • Thread starter Thread starter TOMJ
  • Start date Start date
T

TOMJ

The Multiselect property is set to 'Simple'.
Say 3 items are selected, then one of those or even
another is double-clicked.
How do I know the ROW number of the double-clicked item?

The list box's default value (the bound column value)
returns a NULL.
If I use the 'special case' where the bound column
property is set to 0 (zero), which normally then returns
a row number as the list box's default value, I still get
a null in the situation above.
 
For multiselect listboxes, the Value property will always be a Null (see
Help file for more info).

The ListIndex property will return the row number (caution: row number here
is zero-based, so the first row is 0, the second is 1, etc.).
 
Back
Top