iOS Question Swap OK and Cancel Button in iCustomDialog

skrjabin

Active Member
Licensed User
In iCustomDialog I see the "OK" Button on the left and the "Cancel" Button on the right side. In most iPhone apps it is on the contrary. Can I swap this? And, if it is the only way, what would happen, if I handle the "ok" as negative and "cancel" as positive result?
 
Last edited:

skrjabin

Active Member
Licensed User
I did not know about the AS MsgBox (I am new in b4i). Looks interesting, is that based on custom view? I have made allready a lot of dialogs with custom view and only now I recognized, that the OK and Cancel buttons are in the other direction here than my other dialogs. So I would like to change the button-direction, if possible. But thanks, in future I will try also your library :)
 

skrjabin

Active Member
Licensed User
OK, so for now it is a solution just to swap negative/positive buttons and texts. Ofcourse only with setting the last ShowAsync parameter "cancelable" to False.

In future it would be nice, to have a property to set it. The "rules" for iOS seems to be, that OK is last, on the contary to windows (see here or here).
 
Top