Twebbrowser and Mshtml in Delphi (3): Properties, methods, and Events for window objects

Source: Internet
Author: User
Tags exit relative setinterval

This is not the Twebbrowser control's properties, methods, events; This is basically consistent with the JavaScript window object in the browser.

A Window object is a top-level object in a Web page script that represents the window of a Web page, or a frame.

{IHTMLWindow2 Property:} frames//Return frame array in window location//Return window Location object history//Return window hist Ory Object Navigator//Return Navigator Object Document//Return window Document Object screen//Back to screen object se             LF//Return to the current window//Self attribute top///Return to the topmost window parent///back to opener Returns whether the window closed//window that created this window has been closed the event//current event status, useful external//execute external commands, such as adding
Hide etc clientinformation//Current browser information offscreenbuffering//whether to use double buffering, is the object before displaying the option//can establish option in memory interface?
Image//Can create an image interface?
Item//For getting child frame?
Length//Return the number of frames in the window? Name//Set or return window Defaultstatus//Set or return the default text in the status bar of the window the status//set or return the text in the window status bar {IHTMLWindow2 Method: Call function or Evaluate expression setinterval//Call function or evaluate expression in specified time period (milliseconds) settimeout////Cancel by Settim Eout settings clearinterval//cancellation by setintervalThe Set alert//Display warning box confirm//display can confirm or Cancel dialog box prompt//user Input Dialog ShowModalDialog//Create and display HTML Document modal dialog box ShowHelp//Display Help file navigate//Set new URL, similar to twebbrowser.navigate open//opening a A new browser window or find a named window close//Closes the browser window focus//Get focused blur//Remove focus moveTo//           Move window to specified position Moveby//Move window to relative position Resizeto//Set window width and height resizeby//Set window relative width and height scrollto Scroll to the specified position Scrollby//scroll to relative position scroll//Scrollto execscript//Execute script {IHTMLWindow2 event:} o             Trigger when the nload//exit is triggered by triggering the onbeforeunload//exit, which will occur before onunload, if you want to use this onhelp before you onunload. Triggering www.bianceng.cn onfocus//When a Help is displayed/////When focus is triggered onblur////When the focus is fired//when the trigger is triggered onerror//error Nresize///change the size when triggering onscroll//scrolling {IHTMLWindow3 method:} attachevent//binding event DetachEvent/      /Cancel Event Binding settimeout   Calls a function or evaluates an expression after a specified time (milliseconds) setinterval//To call a function or evaluate an expression in the specified time period (milliseconds) print//print showModelessDialog//Create a display H Modeless dialog {IHTMLWINDOW3 Properties for tml content:} screenleft//screentop//clipboarddata//Clipboard Data {IHTMLWINDOW3 event:} onbeforepri NT//Before Onafterprint//Printed {IHTMLWindow4 method:} createpopup//Create pop-up menu {IHTMLWINDOW4 properties:} frameelement//Get the Frame object where the window is located

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.