Android Question looking for a popup / window

aidymp

Well-Known Member
Licensed User
Longtime User
Hi, Im looking for something that can popup a window or similar, to show a message and get a response!
I looked at the showtoastmessage 2.0 and it did exactly what I wanted only thing is it seems to not respond to button presses!

So is there anything similar?

Thanks

Aidy
 

Roycefer

Well-Known Member
Licensed User
Longtime User
There are
B4X:
Msgbox (Message As String, Title As String)
Msgbox2 (Message As String, Title As String, Positive As String, Cancel As String, Negative As String, Icon As android.graphics.Bitmap) As Int

as well as a bunch of dialogs. Type "dia" in the IDE and you should see some Dialog objects displayed in the drop down menu. There are also custom dialog libraries all over the forum.
 
Upvote 0

aidymp

Well-Known Member
Licensed User
Longtime User
There are
B4X:
Msgbox (Message As String, Title As String)
Msgbox2 (Message As String, Title As String, Positive As String, Cancel As String, Negative As String, Icon As android.graphics.Bitmap) As Int

as well as a bunch of dialogs. Type "dia" in the IDE and you should see some Dialog objects displayed in the drop down menu. There are also custom dialog libraries all over the forum.

Sorry I lacked specifics! msgbox is no good, its ugly and I want to display a large text file (Disclaimer) that should be accepted, the toast message 2.0 was ideal but will not let me press buttons (apparently a known bug) I want something pretty. I will keep looking

Thanks
 
Upvote 0

Roycefer

Well-Known Member
Licensed User
Longtime User
Add the Dialogs library to your project and then type in "dim f as dial" and you will get a list of all the Dialog objects in that library. One of them is likely to suit your purposes. Probably one of the CustomDialog types.
 
Upvote 0

aidymp

Well-Known Member
Licensed User
Longtime User
It's not difficult to design your own and show on a panel

You havent seen my programming lol!

No seriously, the toastmessage one was spot on, or would have been if you could press the buttons! but thanks I will look into it, my problem is I was hoping to release this app 3 weeks ago, but with one thing and another, its getting worse and worse rather than getting better! lol

Thanks

Aidy
 
Upvote 0

JonPM

Well-Known Member
Licensed User
Longtime User
Well what I mean is you can try to create one in Photoshop that looks like the toast one you like, and add buttons or whatever you need.
 
Upvote 0
Top