Share via


Keywords Dialog Box Foundation Class

This class creates a dialog box that displays a specified list of keywords, like the Component Gallery keywords dialog box.

Category

Misc Forms

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Dialogs

Class

_keywords

Base Class

Form

Class Library

dialogs.vcx

Parent Class

_dialog

Sample

...\Samples\Solution\Ffc\dialogs.scx

Remarks

To use, drop the class on a project or, from the Component Gallery Item shortcut menu, select Create Form. When you drop the class on a project, you can choose between adding the class, creating a subclass, or creating a form. When you drop the class on a project or choose Create a new form from the selected class in the shortcut menu, Visual FoxPro opens a builder so you can specify the name of the form, then creates and opens the form in the Form Designer.

By default, the dialog box uses the Component Gallery Keywords.dbf file. You can specify your own keywords file in the cTablename property. You can also provide a set of keywords in a comma-delimited list in the cKeywords property.

Properties, Events, Methods

Description

cKeywords property

Specifies a group of space-delimited keywords to seek in the table specified in cTablename.

Default: ""

cTablename property

Specifies the name of a table that contains keywords.

Default: (IIF(VERSION(2)=0,"",HOME( )+"gallery\")+"keywords.dbf"))

oKeywords object

The object that retrieves the list of keywords set to cKeywords property.

Default: .F.

Apply method

Displays the keywords specified by the cKeywords property from the table specified in cTablename.

Syntax: Apply( )

Return: none

Arguments: none

lAddMode property

Internal to the class.

lUpdated property

Internal to the class.

cLastValue property

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