Shell Component

Fnd_Hook_Shell_NavPalette

Fnd_Hook_Shell_NavPalette

Legacy manual page 216

Parameters

ParameterTypeDescription
No parameters required This hook is called each time the Navigation Palette command is selected from the Tools menu. Use it to configure Foundation's Navigation Palette if you want to alter the default configuration. See the Navigation Component (Fnd_Nav) chapter for more information.

Description

Fnd_Hook_Shell_Print Fnd_Hook_Shell_Print

Parameter Type Description No parameters required.

This hook is called to display the shell's Print dialog. We have preconfigured it to display 4D's Quick Report Editor and Label Editor. You can remove these options, or add new options by calling Foundation's Fnd_Hook_List_SetEditableLists method.

Fnd_Hook_Shell_QueryEditor Fnd_Hook_Shell_QueryEditor

Parameter Type Description No parameters required.

This hook is called to display the shell's Query Editor. You can use this hook to override 4D's default Query Editor with your own, or use a third party Query Editor such as Automated Solutions Group's QueryPack or Business Brothers BBFind.

Fnd_Hook_Shell_Quit Fnd_Hook_Shell_Quit ➜ Boolean

Parameter Type Description Function result Boolean Allow Foundation to quit?

The shell calls this hook when quitting the database, just before calling QUIT 4D (if compiled). Return True to allow Foundation to quit the application normally. If you return False, Foundation will abort any attempts to quit until the next time quit is selected from the File menu. If you return False, it is your responsibility to let the user know why their attempt to quit the database is being ignored You can also add any down code of your own in this method.

Extracted source text
            Fnd_Hook_Shell_NavPalette

              Parameter                Type               Description
              No parameters required.
               This hook is called each time the Navigation Palette command is selected from the Tools menu. Use
               it to configure Foundation's Navigation Palette if you want to alter the default configuration. See the
               Navigation Component (Fnd_Nav) chapter for more information.

   Fnd_Hook_Shell_Print
               Fnd_Hook_Shell_Print

                 Parameter                Type               Description
                 No parameters required.

               This hook is called to display the shell's Print dialog. We have preconfigured it to display 4D's
               Quick Report Editor and Label Editor. You can remove these options, or add new options by calling
               Foundation's Fnd_Hook_List_SetEditableLists method.

   Fnd_Hook_Shell_QueryEditor
               Fnd_Hook_Shell_QueryEditor

                 Parameter                Type               Description
                 No parameters required.

               This hook is called to display the shell's Query Editor. You can use this hook to override 4D's default
               Query Editor with your own, or use a third party Query Editor such as Automated Solutions Group's
               QueryPack or Business Brothers BBFind.

   Fnd_Hook_Shell_Quit
               Fnd_Hook_Shell_Quit ➜ Boolean

                 Parameter                Type               Description
                 Function result          Boolean            Allow Foundation to quit?

               The shell calls this hook when quitting the database, just before calling QUIT 4D (if compiled). Return
               True to allow Foundation to quit the application normally. If you return False, Foundation will abort any
               attempts to quit until the next time quit is selected from the File menu.
               If you return False, it is your responsibility to let the user know why their attempt to quit the database is
               being ignored
               You can also add any down code of your own in this method.