15.12.2011, 14:17
I have a dialog list, and one of them is 'Next Page'.
Under OnDialogResponse, how could i make it so it would know it is selecting 'Next Page'?
I tried this.
if(inputtext == "Next Page")
{
//blabla.
}
Got an error.
So how could i do that?
-----------
And also, in the same list, i have these:
Username (earnt $0)
username (earnt $0)
username (earnt $0).
etc .. about 12 of them (These are loaded from mysql databases)
How could i make it onDialogResponse, it only tracks 'username', and not the space after it?
Thanks.
Under OnDialogResponse, how could i make it so it would know it is selecting 'Next Page'?
I tried this.
if(inputtext == "Next Page")
{
//blabla.
}
Got an error.
So how could i do that?
-----------
And also, in the same list, i have these:
Username (earnt $0)
username (earnt $0)
username (earnt $0).
etc .. about 12 of them (These are loaded from mysql databases)
How could i make it onDialogResponse, it only tracks 'username', and not the space after it?
Thanks.