Share via


URL Combo Foundation Class

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

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.

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 Classes for 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

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Class Samples