This page is still Under Construction AddHtmlToAboutBlank: This function allow you to add a string to the blank pages (Like "About : Blank") to create your own personal blank page. AutoFillIEFormAndExcecute: A procedure that can help you analyze and auto fill common forms that contain field name like 'INPUT', 'Text', 'FindWindow', 'Submit' and 'Search'. AddToRestrictedSiteList(URL :String): A procedure that will add the URL string into the list of "Restricted Site List". AddToTreustedSiteList(URL :String): A procedure that will add the URL string into the list of "Trusted Site List". AddToFavorites(URL: String, Title: String); A procedure that will add a site to your favorites sites. You can enter only URL but then you will loose the proper display. AssignDocument: A procedure which will navigate to "About:Blank" page and wait until the page is fully loaded. Assign(Source: TPersistent): This procedure comes from Classes.pas. AfterConstruction: This procedure is called automatically after the object's last constructor has executed. Do not call it explicitly in your applications. BrowseProperties: The procedure comes from OleCtrls and NOT supported anymore. Broadcast(var Message): This procedure comes from TWinControl. BeginDrag(Immediate: Boolean; Threshold: Integer): BringToFront: Comes from Controls. You should Call BringToFront to ensure that a form is visible or to reorder overlapping controls within a form. BeforeDestruction: BeforeDestruction is called automatically immediately before the component's first destructor executes. Do not call it explicitly in your applications. CheckOnlineStatus: Call CheckOnlineStatus function to check your online status. It will return true if you are online and false for offline. CheckIfInTrustedList(URL:String): Call CheckIfInTrustedList function to check if a URL is in the Trusted List. CheckIfInRestrictedList(URL:String): Call CheckIfInRestrictedList function to check if a URL is in the Restricted List. ClearCache: Call ClearCache procedure to clear all the pc cache. ClearHistory: Call ClearHistory procedure to clear all the internet History. ClearTypedUrls: Call ClearTypedUrls procedure to clear all the Typed Urls as they appear in the address bar. ClientToWindow Copy: Copy procedure will copy the selected text or image to the clipboard. CreateDesktopShortcut: This procedure will create a shortcut to the current web site location on your desktop. CreateNewMail: This procedure will lunch your default Email client by creating a new mail without a context. Cut: Cut procedure will cut the selected text or image to the clipboard. Create(Owner: TComponent): The Create constructor allow you to create TEmbeddedWB dynamically. or: WB := TEmbeddedWB.(self); CanFocus: Call CanFocus to find out if the control can receive input from the user. CanFocus returns true if both the control and its parent(s) have their Visible and Enabled properties set to true. If any of the Visible and Enabled properties of the control or the controls in which it is contained are not true, then CanFocus returns false. CleanupInstance:Do not call CleanupInstance directly. CleanupInstance is called automatically when the object instance is destroyed. CleanupInstance releases all long strings and variants. It sets long strings to empty and variants to Unassigned. DesignMode:Use this function to change to design mode on and off. Destroy: Destroy is the component destructor. You do not use it within your application. DocumentLoaded: Use this function to query the loaded document. ExploreFolder(Path: String): This procedure will lunch Windows Explorer by the given path using ShellAPI. ExecWB: ExecWB lets you use the IOleCommandTarget interface to pass a command to the Web browser control. For more information, see the Microsoft documentation of IOleCommandTarget. cmdID specifies the command to execute. The Web Browser does not support all of the commands for which Microsoft providesconstants. Use the QueryStatusWB method to determine what commands can be used. cmdexecopt modifies how the command is executed. pvaIn specifies a Variant array that contains any input arguments. This value can be omitted if there are not input arguments. pvaOutspecifies a Variant that receives the results of the command, if any. This value can be omitted if there are no results FillForm(FieldName: string; Value: string):This function allow you to auto insert details into a web page FrameCount: This function will return a LongInt that contain the document frames number. FrameCountFromDocument(SourceDocIHtmlDocument2)):This function is an enhanced FrameCount and will return a integer that contain the document frames number. GetCachedFileFromURL(strUL: string; var strLocalFile: string): This function will return the path to a specific file in the cache GetCookie: This function will return the Cookie name as a string, if the page contains a cookie. If the page does not contain a cookie, it will return an empty string. GetCookiesPath: If you Call this function the result will be the IE Cookies path. GetHistoryPath:If you Call this function the result will be the IE History path. GetFavoritesPath: If you Call this function the result will be the IE Favorites path. GetDefaultBrowserFromRegistry: This function will return the Default Browser name as a string (if there is a Default Browser). If no Default Browser is set, then it will return 'No default browser was found' string. GetIEHomePage: This function will return the IE Home Page as a string. GetIEHandle(WebBrowser: TEmbeddedWB; ClassName: string): HWND: This function returns the handle of the Internet Explorer window (HWND) to assist the programer Invoke Hidden Commands in the EmbeddedWB. Version Product GetLastVisitedPage(var LastVisitedPage: string): Call this function to get the last visited page (before your browser was closed). GetIPAndHostName(var HostName, IPaddr, WSAErr: string): Boolean: Call this function to get the pc Host name and IP address (True result). GetSpecialFolderPath(CallerHandle: THandle; CSIDL: Integer): PChar: Call the function to retrive the path to windows special folders path. Const Uses:
procedure TForm1.Button1Click(Sender: TObject); GetBmpFromBrowser(FileName : String): Boolean: Call GetBmpFromBrowser to create a screen capture of your page. Remember to enter a valid name or path with name for the file. GetDocument: IHtmlDocument2 The result of this function will be the current loaded document as IHtmlDocument2. GetJPEGfromBrowser(FileName: string; SourceHeight, SourceWidth, TargetHeight, TargetWidth: integer): Boolean;
GoForward: Navigates to the next item in the history list. |
最后修改:2009 年 08 月 16 日
© 允许规范转载