Share via


Sort Dialog Box Foundation Class

This dialog box enables you to perform an ascending or descending data sort on a particular field.

Category

Data Query

Default Catalog

Visual FoxPro\Foundation Classes\ Data Query

Class

_sortdialog

Base Class

Form

Class Library

_table2.vcx

Parent Class

_form

Sample

...\Samples\Solution\Ffc\datasort.scx

Remarks

To use, drop the class on a project or, from the Component Gallery Item shortcut menu, select Add to Project. When you drop the class on a project, you can choose between adding the class, creating a subclass, or creating a form. If you choose Create a new form from the selected class, Visual FoxPro opens a builder so you can specify the name of the form, then creates and opens the form in the Form Designer. You need to provide an indexed table for the Sort dialog box.

Properties, Events, Methods

Description

DoSort method

Makes it possible for you to sort on the current field or to specify the field on which to order a table.

Syntax: DoSort( )

Return: none

Arguments: none

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples