On Dec 27, 2005, at 5:41 PM, Arnaud Nicolet wrote:
On 27 déc. 05, at 23:58, CV wrote:
On Dec 27, 2005, at 11:58 AM, Arnaud Nicolet wrote:
On the contrary, a click in the blank area does indeed call the
Change event handler-- even if the Listbox contains no rows.
Clicking on the currently-selected row calls the Change event
handler. In short, every click in the content area of a Listbox
calls the change event handler.
Well, that has probably changed after my version (I kept RB
5.5.4, but I think you speak about RB2005). Sorry for my
inacurrate response.
Clicks in the content area fire Change in 5.5.5 as well, and also
4.5. :-)
Well. What else could I designate as faulty? That's probably my
mouse... I've not trained it yet...
I don't know where I got the false assumption that clicks were not
always calling the change event.
The documentation provides some room for confusion. It associates
firing of the Change event with _the selected item has changed_.
However, it also fires when clicking into a blank listbox or clicking
into the white space at the bottom of a listbox which has no
selections. Neither of these cases can be rationally associated with
a change in the selected item.
Best regards,
Jack
_______________________________________________
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>