Simple question guys, but one that is giving me problems.
I have set a dialog position to be relative to "parent" no problem, now I would like to move that dialog to x =0 y=500, but I am blowed if I can find the syntax that works.
Could you help?
Simple question guys, but one that is giving me problems.
I have set a dialog position to be relative to "parent" no problem, now I would like to move that dialog to x =0 y=500, but I am blowed if I can find the syntax that works.
Could you help?
If you want to specify an absolute position (0,500) rather than relative to parent, simply don't set the position property to "parent".
Does not seem to work for me:
dialog.position = (0,500)
gives a script error
Error at line 19, position 21
dlg.position = (0,500)
^
Expected ')' (0x800a03ee)
Parse error - script aborted
When I put this:
dialog.position = "(0,500)"
The dialog ends up at 0,0
dialog.position = "parent" works fine
What am I missing?
dialog.x = 0
dialog.y = 500
Thanks Jon