Share via


URL Combo Foundation Class

This class, when placed on a form, creates a combo box for entering a Web URL. It launches Internet Explorer and navigates to the site.

Category

Internet

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Internet

Class

_urlcombobox

Base Class

Combobox

Class Library

_internet.vcx

Parent Class

_combobox

Sample

...\Samples\Solution\Ffc\hyperlnk.scx

Remarks

To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you drop the class on a project, you can choose between adding the class or creating a subclass. When you dropn the class on a form, Visual FoxPro opens a builder so you can specify the appropriate cURL, cURLHistoryTable,and iURLHistory values on the form in the Form Designer. You can use the history table to supply one or more start locations for Web navigation.

See Guidelines for Using Visual FoxPro Foundation Classesfor more information on using foundation classes.

Properties, Events, Methods

Description

cURL property

The current URL.

Default: ""

cURLHistoryTable property

Specifies the name of the URL history table that retains previously accessed URLs.

Default: (IIF(VERSION(2)=0,"",HOME( ))+"URLHst ry.dbf"))

lInitialized property

Control initialized flag.

Default: .F.

lURLHistory property

Saves URL history.

Default: .T.

Navigate method

Requests the document based on URL address.

Syntax: Navigate( )

Return: none

Arguments: none

cHyperlinkClass property

Internal to the class.

cHyperlinkclasslibrary property

Internal to the class.

cTempFilePrefix property

Internal to the class.

lDropDown property

Internal to the class.

lFormNavigate property

Internal to the class.

lGotFocus property

Internal to the class.

lMoveFocus property

Internal to the class.

lRequestOnEnter property

Internal to the class.

oHyperlink property

Internal to the class.

Initialize method

Internal to the class.

oHyperlink_access method

Internal to the class.

OpenURLHistory method

Internal to the class.

ValidURL method

Internal to the class.

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples