Dabo.ui.sortList

From Dabo Wiki
Jump to: navigation, search

Signature:

dabo.ui.sortList(chc, Caption="", ListCaption="")

Description:

Wrapper function that brings up the list sorting dialog. You pass a list as the first parameter, and optionally a caption for the dialog window, and a caption for the list editor control.

Returns:

The sorted list, or the orignal list if the user cancels.

Comments:

You can sort lists containing any type of object, not just strings.