techknight Well-Known Member Licensed User Longtime User Jan 10, 2019 #1 So, I found this thread here: https://www.b4x.com/android/forum/threads/input-dialog.52929/#content Which gives us an input dialog with OK, and Cancel. But my objective C knowledge is non existent. I need to do a couple things, one I need to know when the user pressed cancel, I tried to add a button index == 0 and pass "CANCEL" as a return but it fails to compile as again, my OBJC doesnt exist. The other thing is, when I dont need a cancel button, if I leave it blank, the button is still there. So i need to fix that somehow. any ideas?
So, I found this thread here: https://www.b4x.com/android/forum/threads/input-dialog.52929/#content Which gives us an input dialog with OK, and Cancel. But my objective C knowledge is non existent. I need to do a couple things, one I need to know when the user pressed cancel, I tried to add a button index == 0 and pass "CANCEL" as a return but it fails to compile as again, my OBJC doesnt exist. The other thing is, when I dont need a cancel button, if I leave it blank, the button is still there. So i need to fix that somehow. any ideas?
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2019 #2 Don't use such code. Use: [B4X] Input dialogs with XUI Views Upvote 0
techknight Well-Known Member Licensed User Longtime User Jan 11, 2019 #3 Did not even know that existed! Upvote 0