Re: How to clear a webpage from a web area?

2017-05-10 Thread Keith Goebel via 4D_Tech
Cannon,
Thanks - I will try that when I get back on-site.
Cheers, Keith


> On 11/05/2017, at 12:01 pm, Cannon Smith wrote:
> No sure about using the variable, but I do this when I need to get a blank 
> web area:
> 
>   WA OPEN URL(*;"vtWebArea";"about:blank") 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to clear a webpage from a web area?

2017-05-10 Thread Cannon Smith via 4D_Tech
Hi Keith,

No sure about using the variable, but I do this when I need to get a blank web 
area:

WA OPEN URL(*;"vtWebArea";"about:blank") 

Maybe something similar for you?

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236




> On May 10, 2017, at 4:25 PM, Keith Goebel via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> In a dialog I have a web area that is displaying a webpage and I want to 
> simply clear it to show nothing.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

How to clear a webpage from a web area?

2017-05-10 Thread Keith Goebel via 4D_Tech
Hi all.
Using 4D v15.2 Win7:
In a dialog I have a web area that is displaying a webpage and I want to simply 
clear it to show nothing.
I have tried 
- clearing the URL variable from a button
- adding "WA REFRESH CURRENT URL(URL_t)" after clearing URL_t
but after the button script finishes, 4D simply restores URL_t to its original 
value and re-displays that webpage.
What am I missing?
Cheers, Keith
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**