Difference between revisions of "Dabo.ui.sortList"

From Dabo Wiki
Jump to: navigation, search
(Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.sortList(chc, Caption="", ListCaption="") </syntaxhighlight> == Description: == Wrapper function that brings up the...")
 
(No difference)

Latest revision as of 15:36, 14 May 2020

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.