All buttons event??
MorgoZ
Posts: 116
I need to keep a popup "visible" while ANY button on the interface is pushed, and hide the popup when no button is pushed (in a few seconds).
So, my question is:
Can i make a "push" event for ALL buttons at all ports and channels of the touch pannel interface?
If not, do you imagine a solution for what i´m trying to do?
Thanks!!!
So, my question is:
Can i make a "push" event for ALL buttons at all ports and channels of the touch pannel interface?
If not, do you imagine a solution for what i´m trying to do?
Thanks!!!
0
Comments
Dev tpsAll [] =
{
tp1, tp2, tp3, tp4, tp5
};
DEFINE_EVENT
BUTTON_EVENT[tpsAll, 0]
{
PUSH:
{
//Show Popup
}
}
http://www.amxforums.com/showthread.php?5943-EVENT-TABLES&highlight=Button+event+0+catch
I´m going to try your code.
Really appreciate your help.