Hi,
I'm trying to use the code below to display a pop-up which allows the user to enter in some text. It all works perfectly, except that the iOS keyboard pops up over the panel.
I'v tried playing with the Top parameter and that doesn't seem to have any affect. Is there something else I need to do? I've also unchecked the "Handle Resize Event" option on the popup panel too as I saw that on another thread.
Thanks.
I'm trying to use the code below to display a pop-up which allows the user to enter in some text. It all works perfectly, except that the iOS keyboard pops up over the panel.
I'v tried playing with the Top parameter and that doesn't seem to have any affect. Is there something else I need to do? I've also unchecked the "Handle Resize Event" option on the popup panel too as I saw that on another thread.
Thanks.
B4X:
Dim p As Panel
p.Initialize("")
p.SetLayoutAnimated(0, 1, 0, 10 , pagBusHome.RootPanel.Width * .50, pagBusHome.RootPanel.Height * .25)
p.LoadLayout("lytMessageSend")
DetailsDialog.Initialize(p)
Dim sf As Object = DetailsDialog.ShowAsync("Enter your message?", "OK", "CANCEL", "", False)
'wait for the result
Wait For (sf) Dialog_Result (Result As Int)
If Result = DetailsDialog.RESULT_POSITIVE Then
Dim strMessage As String = txtMessageSend.Text
strMessage = strMessage.Replace(" ", "%20")
' Do work with message
End If