Start a new topic

Component Pointer

I want to be able to:

1. click a text component.  

2. Jump to a keypad

3. enter in text, number, etc via keypad

4. hit enter

5. have the number go back to the text component clicked.

All without using the android controller..

And be able to use the exact same key pad page with any text box.

So to implement this we need a "pointer"

If the keypad has a global variable (txt) then before calling the keypad we can set.

Keypad.Pointer.txt="Home.TextField.txt" //Pointer to where we want to store the returned value.  Our pointer.

Keypad.Register.txt=Home.TextField.txt //Assign the current value to the keypad register

Keypad.Back.val=9 // The current page number.

When you click enter on the Keypad Page it would do the following.

*(Keypad.Pointer.txt)=Register.txt //Dereference the pointer to the component and set the value to the keypad register.

page Keypad.Back.val //go back to the last page.

1 person likes this idea

See the blog.

1 person likes this

I am now reviewing all of the Feature Requests, this will take some time, patience please.

Component pointers available to global variables via objnames page0.va0.txt - implemented

Tutorial exists - nothing to carry forward.

Login or Signup to post a comment