iOS Question Question about the B4XDialog

Alex_197

Well-Known Member
Licensed User
Longtime User
Hi all.

I have a situation where I need to show a message to the user in red to get his attention. I have an option in my app that erases all the data from the local database. A few times users accidentally clicked on the link Reset the application. Right now it shows XUI.Msgbox2Async with the text that tells the user that all the data will be erased. As it usually happens 8 out of 10 users don't read what the message says and hit Yes.

So I want to show this message in red. I know that in B4i XUI.Msgbox2Async doesn't support a string created in CSBuilder so I'm using B4XDialog.

I call this reset from 2 places - from the link on the login screen which is a page and it works fine. And from the menu. As far as I understood I can't use a B4XDialog in class. Am I correct?
If so - what are my options?

Thanks
 
Top