Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3780

Xojo2024R3.1: URLConnection.ContentReceived - MessageBox not showing

$
0
0

One of the WebPages has URLConnection object in the tray at the bottom, in the ContentReceived event there is some that it is supposed to display message using MessageBox.
Example:

#Pragma Unused URL
#Pragma Unused HTTPStatus

If content.IndexOf("token")>0 Then  
  Var d As New Dictionary  
  d = ParseJSON(content)  
  MessageBox "Token value:" + d.Value("token")
Else
  Var vMsg As String = "Password Reset/Invitation " + content
  MessageBox vMsg
End If

I can put the breakpoint there and I see the vMsg populated but MessageBox does not work as usual, no message is presented on the screen. This code worked in Xojo2018.

I can place WebLabel with name URLContentLable with the following code:

URLContentLabel.Text = vMsg

and I get the content displayed.

12 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles