Share via


Sort Dialog Box Button Foundation Class

When placed on a project or form, this class provides a button that displays a dialog box that makes it possible for 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.

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

Remarks

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 Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples