I am trying to use a dialog box whose title allows multiple lines. I have tried to locate "Input.lblTitle.SingleLine" but I do not see that this option is active.
I would use separate labels above the input box.
The code I use is this:
' Nombre de la Tarjeta en BlueTooth
Private Sub Lb_Nombre_Blue_Click
Dim Input As B4XInputTemplate
Dialog.Initialize(Root)
Input.Initialize
Input.lblTitle.Text = "Nombre BlueTooth de la Puerta:" & Chr(10) & Chr(13)
Input.lblTitle.Text = Input.lblTitle.Text & "Maximo 10 Caracteres" & Chr(10) & Chr(13)
Input.lblTitle.Text = Input.lblTitle.Text & "La Tarjeta se reiniciara si acepta"
Wait For (Dialog.ShowTemplate(Input, "OK", "", "CANCEL")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
Dim res As Int = Input.Text
I am trying to use a dialog box whose title allows multiple lines. I have tried to locate "Input.lblTitle.SingleLine" but I do not see that this option is active.
I would use separate labels above the input box.