Adding items to a group

Jimmieson, Phil phil at liverpool.ac.uk
Wed Aug 26 10:07:10 EDT 2020


Thanks very much Mark, the relayer command is exactly what I needed.


relayer field “xx” to the front of group “thePoem” —adds the field to the poem group at the top of the group

relayer field “xx” after group “thePoem” —removes the field from the poem group and leaves it in front of the group


On 26 Aug 2020, at 10:27, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

On 2020-08-26 10:06, Jimmieson, Phil via use-livecode wrote:
One thing I’m considering is having a set of dummy hidden items
already in the group and making one of those look like the word the
user just dragged in - thus it’s already a member of the group and can
be scrolled etc with the rest. Can anyone think of any better ways of
doing it?

Take a look at the 'relayer' command in the dictionary. It allows you to move controls up and down the layer order and in and out of groups easily (without any need to ungroup/regroup).

Warmest Regards,

Mark.

--
Mark Waddingham ~ mark at livecode.com<mailto:mark at livecode.com> ~ http://www.livecode.com/
LiveCode: Everyone can create apps

--
Phil Jimmieson
University of Liverpool, Computer Science Department
Ashton Bldg, Ashton Street, Liverpool. L69 3BX
0151 795 4236




More information about the use-livecode mailing list