Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where are we? (_FMAM_GuiContext) #25

Open
mrwatson-de opened this issue Feb 15, 2023 · 0 comments
Open

Where are we? (_FMAM_GuiContext) #25

mrwatson-de opened this issue Feb 15, 2023 · 0 comments

Comments

@mrwatson-de
Copy link
Owner

It is necessary to be able to determine, where one is in the FileMaker GUI, in order to be able to filter and present only the functions which make sense at this point.

The frontmost window can be queried using MBS.

Most GUI areas/dialogs are recognisable by the start of the windows name.

Simple dialogs return just the app name FileMaker Pro.

The main window returns the name of the file (and the server name if hosted).

When the main window is identified, the current window mode defines whether the user is in Layout Mode or not.

Recognition of the sub-window context (tables, fields or relations) we'll leave to a future feature!

This function can simply return the basic name of the area, which will allow most all desired functionality to be implemented.

@mrwatson-de mrwatson-de changed the title _FMAM_GuiContext Where are we? (_FMAM_GuiContext) Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant