LAMW: PosRelativeToParent - rpRight lazarus / 43-Android ---------------------------------------------------------------------- c4p · 2017-07-20 05:55 Not sure if this is a LAMW issue? but rpRight in PosRelativeToParent when set to True puts components (Button) hard right which is good but seems to set the top (y) coordinate to 0, it is in the top right hand corner of the form, loses the y coordinate? sets y/Top to 0? Anyone know how to resolve this? ---------------------------------------------------------------------- c4p · 2017-07-20 20:16 Anyone? ---------------------------------------------------------------------- SymbolicFrank · 2017-07-20 20:18 I have no idea what you are talking about. ---------------------------------------------------------------------- c4p · 2017-07-20 21:44 That makes two of us.  It is the alignment properties of a component so you can set it relative to the size of the form, instead of a fixed x/y it will always set the component to align right on the form etc. Every object on the LAMW form has these properties. I got it working (I think!) by using the 'PosRelativeToAnchor' property and setting using 'raToRightOf' & raAlignBaseline' set to True. Obviously you need an anchor for this to work.