Condividi tramite


Keywords Dialog Box Foundation Class

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

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

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

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