Re: [BLACKBOX] Sorting a Dialog.List

From: [at]} <Robert>
Date: Thu, 6 Sep 2012 23:03:46 +0100


Stephen

The following routine (from LibMisc on CPC http://www.zinnamturm.eu/downloadsIN.htm#Lib) is a 'clunky' way of solving a different
problem, but it might give you some ideas.

The Docu & Mod extracts are:








I would guess that your lists are fairly short, so a simple Bubble sort would be fine?


Cheers

Robert.



On 06/09/2012 21:40, Stephen R. Troy wrote:


        
        Dear List, another newbie question: is there a non-clunky way to sort the items in a Dialog.List object? I'm nervous about going inside the Dialog module, and apparently the individual "items" in the List are not accessible from outside the Dialog module. Hint, hint: it sure would be swell if a new release included such a Sort method. Obviously I could do my sorting before entering the items into the list, but for various reasons this would be clumsy. Any suggestions appreciated.
        Steve Troy in Maryland USA


        No virus found in this message.
        Checked by AVG - www.avg.com
        Version: 2012.0.2197 / Virus Database: 2437/5252 - Release Date: 09/06/12

        ---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy


---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Fri Sep 07 2012 - 00:03:46 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:56 UTC