Dabo.ui.sortList

From Dabo Wiki
Revision as of 15:36, 14 May 2020 by Ed (talk | contribs) (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.sortList(chc, Caption="", ListCaption="") </syntaxhighlight> == Description: == Wrapper function that brings up the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.