a Class question

Ricky D

Well-Known Member
Licensed User
Longtime User
I am wondering if it's possible to catch the press of the back key inside a class.

What I'd like to do is hide my class if I press the back key when it's showing.

So far I can only see that you can do this via the Activity_KeyPress sub on the activity calling the class.

regards, Ricky
 

Ricky D

Well-Known Member
Licensed User
Longtime User
How do I delegate the sub to the class? It sounds interesting.

I can see how to do it using the Key press event.

Regards, Ricky
 
Upvote 0

Ricky D

Well-Known Member
Licensed User
Longtime User
Thanks Erel.

Because I also use the Activity Key press to capture the Menu key I'll put the code there.

Regards, Ricky
 
Upvote 0
Top