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.

Cursor or Mouse Location on Screen?

Featured Replies

Does anyone know a way to capture the position of the cursor(insertion point) and/or the mouse pointer? It seems like we should be able to do this as in Layout mode, if you have the Object Size dialog showing, anytime you click gives you the coordinates of the mouse. This would be useful for positioning windows based on a mouse click.

FileMaker Version: Dev 7

Platform: Windows 2000

just out of curiosity, why would you want to pos a window based on a click, could you not just drag the window then?

I could see neat applications with maps and the like though.

Charles

  • Author

I am not really worried about the user moving the window once it is positioned. Let's say you have a layout viewed as a list. You have a button on each record in the list that might bring up a window to show the details of the record. It would be nice to be able to position the window next to the button that the user clicks on so their eyes don't have to go to far to see the new window that came up as a result of the mouse click.

  • 2 weeks later...

If you have a field next to every button on the layout couldn't you pass the field name using a script parameter and use the FieldBounds function. This will not get you the exact location of the mouse but it should be close.

FieldBounds ( Get(FileName); Get ( LayoutName ); Get ( ScriptParameter ))

Good luck

Brian

OOOPS? Only works if your layout does not scroll. If you are viewing as a list you would more than likely be scrolling.

Sorry,

Brian

FileMaker Version: Dev 7

Platform: Windows 2000

Gday;

there is a plugin called WindowUtility (i forget who makes it but if you search filemaker.com's plugin database you can find it there)

I use it in one of my solutions and as I recall it can capture the mouse position.

If their plugin doesn't work i am sure there are a variety of plugins that do.

Cheers

SG

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.