Is there a way to find out the position (cursor) on form. I am trying to develop an application that has some softkey commands, but they should function differently depending on the position. Let's say you are on a TextField when you press the softkey, A should happen. But then again, if you are on an Image, B should happen. How should I go about doing this?