nbogdanovic
Member
Hi,
I am trying to execute a piece of code if somebody clicks on a label. Does anybody know if that is possible since labels don't have an onClick event?
Anyhow, I am trying to create a user object that consist of a button, and there are some labels on that button. I want to make sure that no matter where in the button a user clicks, button.onClick method will be executed. But if I click on the label area nothing happens, and that is where my problem is coming from.
Thanks.
I am trying to execute a piece of code if somebody clicks on a label. Does anybody know if that is possible since labels don't have an onClick event?
Anyhow, I am trying to create a user object that consist of a button, and there are some labels on that button. I want to make sure that no matter where in the button a user clicks, button.onClick method will be executed. But if I click on the label area nothing happens, and that is where my problem is coming from.
Thanks.