PDA

View Full Version : Find clicked button on TitleWindow


kminev
02-09-2009, 08:49 PM
Hi,

I need to add event listener to custom TitleWindow and somehow detect whether a certain button is clicked on the title winwow.

Simple enough, but not sure how to pull out data from event.currentTarget in order to findout whether my (btnYes) was clicked.

Any help will be appreciated.

Thanks in advance

Sekhar
02-10-2009, 02:39 AM
Why don't you just listen for clicks on the button rather than on the window?