12-11-2012 05:37 PM
SystemPrompt *prompt = new SystemPrompt(); //SET ADDITIONAL PROMPT SETTINGS //LATER IN THE APP myTitle = prompt->inputField->?????
How can I get the text that a user has inputted in to my prompt?
I have tried:
myTitle = prompt->inputField()->defaultText();
But no luck.
This is in C++.
Thanks
Solved! Go to Solution.
12-11-2012 11:48 PM
I have to admit to have been mostly avoiding the c++ but have you tried
myTitle = prompt->inputField()->text;
12-12-2012 01:56 AM - edited 12-12-2012 01:56 AM
You can use the SystemPrompt::inputFieldTextEntry() member function
I only used it in QML so far, but I guess in C++ you would use:
prompt->inputFieldTextEntry()
12-12-2012 12:13 PM
Thanks