Positioning object in a loclocked group

Stephen Barncard stephen at barncard.com
Thu Apr 15 11:32:32 EDT 2021


Well for one thing there’s a keyword in the name of the object.

Try using a name like “TheGroup”



On Thu, Apr 15, 2021 at 08:17 Klaus major-k via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi all,
>
> I am sure there is a technical reason for this! 8-)
>
> I have a group set to 600*600 pixel and loclocked.
> Inside of the group there are two invisible objects,
> a button and a graphic.
>
> Now if I:
> ...
> create btn "b1" in grp "THE group"
> ## and
> set the loc of btn "b1" of grp "THE group" to whateverX,wahteverY
> ...
> where whateverX and Y are definitively inside of that group!
>
> Then the button stays however in the topleft corner of the group.
> Even moving the button some pixels to right or down does not work.
> Why, oh, why? :-)
>
> Thanks for any insight!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
>
>
> _______________________________________________
> 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
>
-- 
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org



More information about the use-livecode mailing list