Sort Dialog Box

See Also

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\Vfp98\Solution\Ffc\datasort.scx

Remarks

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

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.

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

Properties, Events, Methods Description
DoSort method Allows you to sort on the current field or to specify the field on which to order a table.
Syntax: DoSort( )
Return: none
Arguments: none