Sub Result
MsgboxAsync("No Add Rights" , "Sorry!!")
Wait For Msgbox_Result (Result As Int)
StartActivity(accounts_master)
Activity.Finish
End Sub
I write a code like this but it shows error like ("current declaration does not match the previous one"). I don't know what is the error?. I am Beginner Plzz clarify me
For the sake of clarity: your method (Sub) is called 'Result' and so is the return value in your 'Wait For' line, which is an Int. You could e.g. change the latter to 'MsgboxResult As Int' and the declaration would be ok. And then move to B4XPages
For the sake of clarity: your method (Sub) is called 'Result' and so is the return value in your 'Wait For' line, which is an Int. You could e.g. change the latter to 'MsgboxResult As Int' and the declaration would be ok. And then move to B4XPages