Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bringing an object to the front

Featured Replies

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

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

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

  • 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

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.