incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrei apostolache <apostolache.and...@gmail.com>
Subject [Proposal] Different behaviour on click and doubleClick on UIComponent
Date Fri, 20 Apr 2012 10:44:54 GMT
Hi.

It might be a weird proposal, but in some cases you might need to have
different behavior for a button/custom component based on UIComponent for
click and double click.
An workaround will be to start a 300-400 millisecond timer in your click
handler to delay your actions (in case the user will go for a
double-click), but I think the elegant way will be that the UIComponent
should take care of this once you set on true doubleClickEnabled.

Regards,
Andrei.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message