# Wow, annoying setLocation() function

**URL:** <https://forum.servoy.com/t/wow-annoying-setlocation-function/1547>\
**Category:** Classic Servoy\
**Created:** [March 23, 2004, 2:30pm UTC](https://forum.servoy.com/t/wow-annoying-setlocation-function/1547 "2004-03-23T14:30:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [March 23, 2004, 2:30pm UTC](https://forum.servoy.com/t/wow-annoying-setlocation-function/1547/1 "2004-03-23T14:30:28Z")

</div>

This cost me more than an hour (probably my fault, I am sure it is somewhere in the docs)…

Positioning elements on a form via the gui and/or in the properties bar works relative to the upperleft corner (0, 0) of the form. No matter if this is a footer, body, header of whatever alternative part we have.

But now, do this via scripting and you have to do the positioning relative to the upperleft corner of the part the element is on…

Is this intentional and/or can this be changed?

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [March 23, 2004, 6:05pm UTC](https://forum.servoy.com/t/wow-annoying-setlocation-function/1547/2 "2004-03-23T18:05:25Z")

</div>

Well actually it’s intentional, its the difference between drawing board and real objects. (panels)  
Other model than this is hardly possible… imagion absolute coordinate system in combination with use of controller… ![:)]( "Smile")

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [March 23, 2004, 6:10pm UTC](https://forum.servoy.com/t/wow-annoying-setlocation-function/1547/3 "2004-03-23T18:10:19Z")

</div>

ok thanks…
