IME includes several utilities that will you help you manage the soft keyboard. A tutorial with a working example is available here. This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
HeightChanged (NewHeight As Int, OldHeight As Int) HandleAction As Boolean
Adds the HandleAction event to the given EditText.
Enables the HeightChanged event. This event is raised when the soft keyboard state changes. You can use this event to resize other views to fit the new screen size. Note that this event will not be raised in full screen activities (an Android limitation).
Hides the soft keyboard if it is visible.
Initializes the object and sets the subs that will handle the events.
Sets a custom filter. EditText - The target EditText. DefaultInputType - Sets the keyboard mode. AcceptedCharacters - The accepted characters. Example: Create a filter that will accept IP addresses (numbers with multiple dots) IME.SetCustomFilter(EditText1, EditText1.INPUT_TYPE_NUMBERS, "0123456789.")