Jump 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.

On window focus - run a script

Featured Replies

Hi all,

Is there a way, when you click on a database window, a script executes. Anyone know if there is a way to do it?

Thanxs

Steve Griff

When you say "click on a database window", what exactly do you mean?

If you mean clicking anywhere on the screen, you could create a graphic that takes up the whole screen (like a simple rectangle on the layout) and go to Format:Button to have it run the script.

Hi Steve,

YES!!! You can create a button that will cover the 'whole' screen. Or, I should say the 'whole' window.

- In 'Layout' mode

-- create a 'rectangle' graphic object

-- move the object to the 'upper-left' most corner of your layout

-- drag the 'lower-right' corner of the object to the 'lower-right' corner of the layout

--- make it only as big as your window will appear

-- set your 'fill' & 'line' properties

-- 'Arrange' the object to 'bring to front'

-- 'Format' button to perform a script or goto a layout

---- you may want to set any fields on this layout to 'don't allow entry' so users can't tab into fields

I utilize this type of screen layout to permit users to 'view' a record, but not 'edit' the record. When they click anywhere on the screen, they are given a message to 'click a certain button'. An 'edit' button will be there also. When they click the 'edit' button, my solution will check their privileges and move them to a duplicate layout which will allow them into the fields.

IDEA:

Create a screen layout as a 'Splash Screen' that has only a 'logo' and 'developer info'. When the user clicks the screen, they are taken to a 'log-on' screen, 'main menu' screen, or to another layout. You can also set a 'delay' that will take the users to these other layout without a click.

Have Fun!

Bob

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.