Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container-Control on top of webbrowser-control
Message
From
29/03/2017 18:07:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01649485
Message ID:
01649501
Views:
77
>Hi there,
>
>I have a form saved as class. Rgis form is used in a POS-App and is displayed on a second screen.
>The form has a container with some labels and a web-browser-control on it. The labels show transactions like article-descritpion and price to the customer.
>The web-browser shall show some advertising in times when there is no activity.
>My problem is, that I can not show the container on top of the browser. Here is what I do on the init:
>
>
>this.obrowser.Top = this.top
>this.obrowser.left = this.left
>this.obrowser.height = this.height
>this.obrowser.width = this.width
>this.obrowser.navigate("www.some-website.de")
>this.obrowser.ZOrder(1)
>this.ct1.ZOrder(0)
>
>
>Can someone tell me what I am doing wrong?

Just to add what others said - yes, you can't cover a browser control with a fox control. Sometimes a browser in a page will show above the pageframe when when it's on an inactive page.

I've had a worse, or weirder case. I had two browser objects on a container. Not to be visible at the same time. One would actually navigate to a website, get things done over there, and on return it would be hidden and instead of it I'd show a grid in the top half (with things made during this visit and previous visits) and in the bottom the other instance of the browser with the details for the currently selected row. It worked fine for months.

Except once it didn't work. And I couldn't make it work again... until I simply killed the browser instead of hiding it, and made a new one instead of showing it. Don't remember what the problem was, something convoluted that I couldn't fathom, but it works ever since and I haven't heard from the customer since then. I don't know what, I don't understand, and I'm not even sure I want to know.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform