共用方式為


Sort Dialog Box Button Foundation Class

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

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.

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

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