Positioning object in a loclocked group

J. Landman Gay jacque at hyperactivesw.com
Thu Apr 15 12:27:21 EDT 2021


That happened to me once and it turned out that I had a duplicate invisible 
control that was moving instead. If you turn on "show invisibles" you might 
find something. The extra control may not even be in the same group.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 15, 2021 10:18:46 AM 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







More information about the use-livecode mailing list