Hi,
I need to handle a Panel Touch event within a class module, but Activity.ACTIVITY_DOWN, Activity.ACTION_MOVE and Activity.ACTION_UP don't work here.
The values of these don't seem to be documented anywhere, but they appear to be 0 for down, 2 for move and 1 for up. Can I just hard-code these three constants into my class module? i.e. instead of testing if Action = Activity.ACTION_DOWN, test if Action = 0, etc.
Or is there a better way of doing this?
Andrew
I need to handle a Panel Touch event within a class module, but Activity.ACTIVITY_DOWN, Activity.ACTION_MOVE and Activity.ACTION_UP don't work here.
The values of these don't seem to be documented anywhere, but they appear to be 0 for down, 2 for move and 1 for up. Can I just hard-code these three constants into my class module? i.e. instead of testing if Action = Activity.ACTION_DOWN, test if Action = 0, etc.
Or is there a better way of doing this?
Andrew