B4J Question How to - XUI.Msgbox2async "more options"?

Harris

Expert
Licensed User
I JUST did this for my android app...

B4X:
' dir and fn were passed to this method...
' show a message box with result...
    Msgbox2Async("File Name: "&fn&CRLF&CRLF&"Dir: "&dir, "Selected Image","DELETE","CANCEL","",Null, True)
    Wait For Msgbox_Result (Result As Int)
    If Result = xui.DialogResponse_Positive Then
        If File.Delete(dir,fn)     Then
           BuildCLVList       
        End If
    End If
 

walterf25

Expert
Licensed User

In https://www.b4x.com/android/forum/threads/85201/#content Erel shows the above examples - but no code to show how to produce the second and third example of the three here.
Can anyone post how this is done (other than using XUI dialogs, as opposed to xui.msgbox2async)?
The second one is for B4i and the third one is for B4A, i'm assuming the same code is used since you can use the same class across all three platforms.

Regards,
Walter
 

Harris

Expert
Licensed User
you can use the same class across all three platforms
Yes, I assume so... B4X XUI is cross all 3 platforms.

However, since I use ABM on B4J, I don't worry about B4J apps - not relevant - yet it maybe to you.
 

walterf25

Expert
Licensed User
Yes, I assume so... B4X XUI is cross all 3 platforms.

However, since I use ABM on B4J, I don't worry about B4J apps - not relevant - yet it maybe to you.
:eek:
 
Top