Wish Expose dismiss method in MessageBox

JordiCP

Expert
Licensed User
Longtime User
The title says it all.
A partial result can be achieved using nativeObject and calling the dismiss method of the (UIAlertController) _alert field from the MsgBox returned object, but the UI stays unresponsive to touch events, so it is not a solution
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Why not use the more powerful iCustomDialog?

A partial result can be achieved using nativeObject and calling the dismiss method of the (UIAlertController) _alert field from the MsgBox returned object, but the UI stays unresponsive to touch events, so it is not a solution
Assuming that you have implemented it correctly then the behavior will be exactly the same whether you implement it with NativeObject or in a library.
 

JordiCP

Expert
Licensed User
Longtime User
Yes, ¡t is an option, but I wanted to use something already existing that adapts to my message size. I use it a lot in my app and the texts vary from one line to more than ten
Assuming that you have implemented it correctly...
My attempt to implement it (HERE) is not correct :oops:: the dialog disappears, but touch control is lost.
 
Top