skip to main content

Controls Reference : WEB-BROWSER : Properties : Save-As-No-Prompt

Save-As-No-Prompt
When set to a non-zero value, the content of the current page is saved to the file specified by File-Name. Only the html code is saved. If File-Name is not set, then a Save As dialog is shown.
 
Example - Define a web-browser control and save it as html file in procedure division
screen section.
  03 screen-1-wb-1 Web-Browser
     line 23.1
     column 2.0
     size 62.2 cells 
     lines 28.0 cells 
     event-list ( cmd-goto cmd-help )
     exclude-event-list 1
     value "http://www.veryant.com"
procedure division.
  modify screen-1-wb-1 
         file-name "c:\main-st\tmp\veryant.html"
         save-as-no-prompt 1.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left