Pulling list-items up and down in a scrollable list-field in a standalone.

Ken Ray kray at sonsothunder.com
Wed Sep 21 16:40:04 EDT 2005


On 9/21/05 2:15 PM, "Kresten Bjerg" <Kresten.Bjerg at psy.ku.dk> wrote:

> I have 12 scrolling list-fields (of 12 selfmade icon-fonts), from which users
> of standalone can select one or more items, and produce moveable buttons
> reflecting the "letter" selected  in the list, and  subsequently clickable can
> write its "letter"into a time-indexed line on the daycard of the electronic
> diary. Going to publish the standalone, with only 450 icons, I want to make it
> possible for users to update with new, expanded, versions  of the fonts,
> without having to abandoned the accumulated diary, and private layout in the
> first standalone ( with an average of app 38 items in each list).
> The solution will be to include all 256 ascii characters in each list. In that
> way - having installed future expanded icon-fonts - the new characters should
> appear in their 12 list-fields..... but they will be scattered down in the
> list, - and difficult to access.
> Therefor the user of the standalone shall have a way , when scrolled to the
> very bottom, to move up to the first (last) new item, select it, and "pull" it
> upwards (preferably with the arrow-up key) all the way to the top, or leave it
> e.g. just under the original items, - or somewhere between them.  The
> potential should also be for the standalone users to move the preliminary
> items down or up, as they choose.  I see such functionality implemented in the
> menu-editor.   How can we script this ?

If you're talking about providing drag-reordering of items in a list field,
Scott Rossi did a cool implementation called "Get In Line" that you can
download from his "TMPanel" by typing the following into the message box and
executing it:

  go url "http://www.tactilemedia.com/tmpanel.rev"

Perhaps you can use that or get some ideas from it...

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list