Turn on a IE window in the full screen in the VFP

xiaoxiao2021-03-06  78

Turn on a IE window in the full screen in the VFP

OIE = CREATEOBJECT ("InternetExplorer.Application")

* Oie.top = 0

* Oie.Left = 0

* Oie.height = 500

* Oie.width = 500

OIE.MENUBAR = .f.

Oie.statusbar = .f.

Oie.navigate ("http://rts.coolbel.com")

OIE.FULLSCREEN = .t.

Oie.toolbar = .f.

Oie.visible = .t.

* If Type ('oie') = "o"

* Oie.quit

* RELEASE OIE

* ENDIF

* The main member function of the OIE class is: OIE.NAVIGATE (STRING URL) to a contact designated by the URL;

* OIE.GoHome corresponds to the home page of Internet Explorer; Oie.gosearch and the Search of Internet Explorer;

* Oie.goback corresponds to the back of Internet Explorer; OIE.GoForward corresponds to the Advancement of InternetExplorer.

* The main member variable of the OIE class is: Oie.Top, Oie.Left window left upper left corner coordinate; OIE.Height window height; OIE.Width window width;

* Oie.Statustext window status bar display information; oie.statusbar window is status strip;

* OIE.FullScreen window is displayed full screen;

* OIE.Toolbar window has a toolbar;

* Oie.visible window is visible;

* OIE.Menubar window has a menu.

转载请注明原文地址:https://www.9cbs.com/read-122864.html

New Post(0)