On 26 déc. 05, at 19:44, [EMAIL PROTECTED] wrote:
Is there anything that is returned when a user clicks on an empty row
of a ListBox item?
I'm interested in setting things up so that if someone clicks on a
blank/empty/invalid row, the listbox will add a new row at the bottom
of the existing rows.
As Charles said, I think the CHANGE event is fired, but the row might
be -1 -
make a simple test case and check it. Then in that case, use the Addrow
function for the listbox, then probably also set the new row to be
selected.
If you don't select the new row when it is created, a new click in the
blank area won't make a new Change event (no change) so, if you rely on
the change event (which, indeed, is called when the listbox loses its
selection; ListIndex=-1), you have to select it to get new
in-blank-zone clicks.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>