Sort Dialog Box Button

See Also

Category Data Query
Default Catalog Visual FoxPro Catalog\Foundation Classes\Buttons
Class _sortbutton
Base Class CommandButton
Class Library _table2.vcx
Parent Class _dialogbutton
Sample ...\Samples\Vfp98\Solution\Ffc\datasort.scx

Remarks

When placed on a project or form this class provides a button that displays a dialog box that allows you to sort data in ascending or descending order on a particular field. For details, open _dialogbutton in the _table2.vcx class library in the Class Browser.

To use, drop the class on a project or form in a data environment or, from the Component Gallery Item Shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the button on the form. When you drop the class on a project, you can choose between adding the class or creating a subclass.

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