次の方法で共有


Sort Selector Foundation Class

This set of buttons, when placed on a project or form, performs an ascending or descending sort based on the current control.

Category

Data Query

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Data Query

Class

_sortselect

Base Class

Container

Class Library

_table2.vcx

Parent Class

_container

Sample

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

Remarks

To use, drop the class on a project or form 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 buttons on the form. You can then specify the appropriate property values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.

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([tcField] [,tcAlias] [,tcTag] [,tlDescending])

Return: none

Arguments: tcField specifies the field to sort on.tcAlias specifies the alias of the table to sort.tcTag specifies the index tag of the field, tcField.tlDescending specifies whether the sort is a descending sort.

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples