Hi all,
Good morning/afternoon/evening, and I hope that you are all doing well.
Is it possible to use a very long message string with a B4XInputTemplate dialog box? Here's a code snippet to illustrate my question. The dialog is visible and functions properly, but unfortunately the message is truncated to "Choose a number. This message is too".
If it's not possible to do this, then any alternative suggestions would be very much appreciated. My goal is simply to display a block of text just above the field where the user enters their input.
Thank you very much, in advance!
-PK
Good morning/afternoon/evening, and I hope that you are all doing well.
Is it possible to use a very long message string with a B4XInputTemplate dialog box? Here's a code snippet to illustrate my question. The dialog is visible and functions properly, but unfortunately the message is truncated to "Choose a number. This message is too".
B4X:
Dim CurMessage As String
Dim input As B4XInputTemplate
input.Initialize
input.lblTitle.Text = "Choose a number. This message is too long and will be truncated. I would like to put more information in this box above the input prompt."
input.ConfigureForNumbers(False, False)
Wait For (dialog.ShowTemplate(input, "Done", "","")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
CurMessage = "The number entered was: " & input.Text
Wait For (xui.MsgboxAsync(CurMessage, "Testing")) Msgbox_Result (Result As Int)
End If
If it's not possible to do this, then any alternative suggestions would be very much appreciated. My goal is simply to display a block of text just above the field where the user enters their input.
Thank you very much, in advance!
-PK