1. GUSTAVO MARCELINO
  2. PowerBuilder
  3. Wednesday, 25 March 2020 13:21 PM UTC

Hello,

I need to show this link in a Window (or userObject):

http://uk.site.sports.betfair.com/betting/LoadRunnerInfoChartAction.do?marketId=170227003&selectionId=5606609&asianLineId=0

To keep updating every 5 seconds on a timer

I'm using Microsoft WebBrowser that I got from the internet

The problem is that with each update, everything is blank on the screen, and then reloads, I would need it not to redraw until I reload everything, so as not to give the feeling to the user who is reloading.

I'm using in uo_web_browser:
SetRedraw (False)
of_Navigate (is_url)

event on Navigatecomplete2:
SetRedraw (True)

But it didn't work, the screen keeps drawing for the user.

René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 25 March 2020 13:38 PM UTC
  2. PowerBuilder
  3. # 1

Hi Gustavo,

how about using two browser controls? So you can have one invisible to navigate while the other shows the current content. If the load finished you can show the new control and hide the other.

Just an idea.

Regards,

René

Comment
There are no comments made yet.
GUSTAVO MARCELINO Accepted Answer Pending Moderation
  1. Wednesday, 25 March 2020 15:31 PM UTC
  2. PowerBuilder
  3. # 2

René Ullrich, I will try to do that.

How can I get the image of the url and show it in a Picture object?

Because the link I passed is just an image.

Comment
  1. Roland Smith
  2. Wednesday, 25 March 2020 16:32 PM UTC
Use HttpClient to get it as a blob, write it to disk, assign it to a picture control.
  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 26 March 2020 03:15 AM UTC
Even better than using the ms web browser control.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.