Execwb method of webbrowser component -- Delphi controls browser Components

Source: Internet
Author: User

 

Execwb method of the webbrowser component 1. <Object ID = "webbrowser" width = 0 Height = 0 classid = "CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2"> </Object> 2. call method: webbrowser. execwb (ncmdexecopt, [pvain], [pvaout]) 3. parameter description: (). n1_id olecmdid_open = 1, olecmdid_new = 2, olecmdid_save = 3, olecmdid_saveas = 4, cost = 5, olecmdid_print = 6, olecmdid_printpreview = 7, cost = 8, olecmdid_spell 9, olecmdid_properties = 10, olecmdid_cut = 11, olecmdid_copy = 12, olecmdid_paste = 13, cost = 14, olecmdid_undo = 15, olecmdid_redo = 16, cost = 17, cost = 18, olecmdid_zoom = 19, direction = 20 olecmdid_updatecommands = 21 olecmdid_refresh = 22 olecmdid_stop = 23 olecmdid_hidetoolbars = 24 olecmdid_setprogressmax = 25 olecmdid_setpr Ogresspos = 26 olecmdid_setprogresstext = 27 olecmdid_settitle = 28 olecmdid_setdownloadstate = 29 olecmdid_stopdownload = 30 the above keywords can all be found in the browser menu. (B). ncmdexecopt olecmdexecopt_dodefault = 0, olecmdexecopt_promptuser = 1, lecmdexecopt_dontpromptuser = 2, olecmdexecopt_showhelp = 3. For this parameter, select 1. 4. commonly used: webbrowser. execwb (1, 1) Open webbrowser. execwb () Close all existing IE Windows and open a new window webbrowser. execwb () Save the web page webbrowser. execwb (6, 1) print webbrowser. execwb (7,1) print and preview webbrowser. execwb (8, 1) print page settings webbrowser. execwb () view page attributes webbrowser. execwb () seems to be undo. You need to confirm webbrowser. execwb (17,1) Select All webbrowser. execwb () Refresh webbrowser. no prompt for closing the form of execwb ()

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.