On 02/01/13 12:24, steveco.1...@gmail.com wrote:
Actually, I'm quite interested in this discussion too.  I'm having
difficulty distinguishing between EVT_LIST_ITEM_SELECTED and
EVT_LIST_ITEM_ACTIVATED.

If the user single-clicks (EVT_LIST_ITEM_SELECTED), then I want the user to
enter an event handler dialogue that presents options with defaults.

If the user presses double-clicks (EVT_LIST_ITEM_ACTIVATED), then I want the
user to enter an event handler without a dialogue that takes the defaults
automatically.

What I get with single or double click, is that single click is always
entered.

As a workaround until someone can investigate properly, have you tried setting a timer event in the single click event? If the event fires again, then cancel the timer and do your double click action. If it doesn't, then when the timer expires do your single click action.

I bet this is because you somehow need to call $event->Skip(1) so the double click event can have a chance. Take that with a grain of salt; I'm fairly new to wxperl.
--
Dave Hayes - Consultant - Altadena CA, USA - d...@jetcafe.org
>>>> *The opinions expressed above are entirely my own* <<<<

The net poses a fundamental threat not only to the authority
of the government, but to all authority, because it permits
people to organize, think, and influence one another without
any institutional supervision whatsoever.
                            - John Seabrook "My First Flame"

Reply via email to