Grouping controls within a group

Peter Haworth pete at lcsql.com
Wed Feb 26 21:01:38 EST 2014


Hi Mats,
That works great, thanks.  I was using a group command with a list of the
selected objects before and that's what threw an error (that was for pre
v6).

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Wed, Feb 26, 2014 at 5:08 PM, Mats Wilstrand <
mats.wilstrand at tapirsoft.com> wrote:

> Hi Pete
>
> In 6 + versions, I use the "relayer" command as it gives full control and
> works really well.
>
> on mouseUp
>    new grp
>    relayer last grp to back of grp "G"
>    relayer btn "A" to back of last grp
>    relayer btn "B" to back of last grp
> end mouseUp
>
> If you do not want to use "relayer" you can do this instead:
>
> on mouseUp
>    select empty
>    set the selected of btn "A"  to true
>    set the selected of btn "B"  to true
>    group
> end mouseUp
>
> Best
> Mats
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list