November 14, 200223 yr How can I get an object to move the front via a script? When I click on a button I want an object to move to the front and then go back after released. I appreciate any input you can give. Thanks, John
November 14, 200223 yr The "move to front" construct is something used in Layout Mode, it is not scriptable. What are you trying to do? There is probably another way. -bd
November 15, 200223 yr The bringing object to front as such is not scriptable, but there are workarounds that simulate that. You can place a calculated container field on top of the object to show/hide. The cal.cont.field refers to two other global container fields (or preferably one global repeating container field with two repetitions, one empty and the other filled with an image of a background color). Then you make the calculation 'obeying' a variable that defines which repetion shows, the empty one or the background color. The field itself must not have a color of its own. Fiddle around also with the menu: Graphics: Reduce or enlarge image to fit. (into the field). The click of the button can set that variable in the script the button starts, that's easy, but the 'then go back after released' is a problem, as there is no status function checking whether the mousebutton is depressed or not. So you've got to use your imagination on that point. Harryk
November 18, 200223 yr Author What I am doing is trying to implement Cobalt Sky's "click tips" into my project. On the example that he has for download, he has several buttons that are spread out and have enough room to place the click tip fields far enough apart so they don't overlap. On my layout, I don't have that much room and a few of them overlap. I was hoping there was a way to have the fields come to the front when you wanted a certain click tip. It sounds like I may have to either forget about the click tips or find some more room somewhere. John
November 18, 200223 yr Author I am implementing click tips in several different files. In 3 of them, I am able to line up all the global click tip fields and they can overlap. They display just fine when they are supposed to. But in the 4 th file, I am not able to overlap the fields at all. It either displays it behind another object or blocks out an object on the layout. What would be the difference between the files? Thanks for the help. John
Create an account or sign in to comment