Hippocode Posted May 22, 2013 Share Posted May 22, 2013 Hi, Trying to create a PIO that will be on the bottom of the layer, so every other object will be on top of it. MoveBack; and backward; have no result. Any ideas ? Quote Link to comment
Miguel Barrera Posted May 22, 2013 Share Posted May 22, 2013 Use the handle type: HMoveBackward(pioHdl: HANDLE; moveToBot: BOOLEAN); Quote Link to comment
Hippocode Posted May 23, 2013 Author Share Posted May 23, 2013 (edited) Use the handle type: HMoveBackward(pioHdl: HANDLE; moveToBot: BOOLEAN); Thanks, this function is what I needed. Yet It doesn't work, unless I reset the object once. So on first placement it won't go backwards..probably because vw doesn't know yet its position until it is fully placed ? I tried to resolve that to add a boolean:false to the object, if false it would reset the object so it gets redrawn on first placement and moved back. Problem is that when clicking the object in the workspace, it gets calculated and reset before even drawing it, once placed the resetcall can't be called anymore, lol Edited May 23, 2013 by hippothamus Quote Link to comment
Miguel Barrera Posted May 23, 2013 Share Posted May 23, 2013 It does work for me and I am running the same version 2010 on Win 7. I make this the last function in the reset event of the pio. Quote Link to comment
Hippocode Posted May 24, 2013 Author Share Posted May 24, 2013 So am I, but the object will stay on top of everything untill I manually reset it by changing parameter values.. 3:BEGIN IF result THEN BEGIN Main; HMoveBackward(objHd,TRUE); END; vsoStateClear(objHd); END; Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.