dialogFileSaveįunction requestNewClientWindow(windowclass, rootnode)īecause client instances should not create windows with data bound to nonexistant database nodes, they need to ask the host to create a new data base node to act as the window datasource whenever a new record is required. (string (or table)) Returns the file (or files if multi-select enabled) that the user selects. Multiselect (boolean) Defines whether multi-select is enabled for the open file dialog.įilter (table) Specifies filter values to use in the file open dialog as a table of key/value pairs where the extension type is the key and the description is the value.ĭirectory (string) Specifies the initial directory to display when opening this dialog, relative to the FG data directory. If a filter parameter is not defined or empty, then an XML file type will be added to the dialog filter.Ĭallback (function) The function to call when the dialog is accepted or cancelled. FGU uses asynchronous cross-platform dialogs and requires a callback function whereas FGC uses synchronous OS-based dialogs. addImageFileįunction dialogFileOpen(callback,, , )įunction dialogFileOpen(,, )ĭisplays a standard file system dialog for opening files. Generally, windows should only be opened once shared from the host, or by using requestNewClientWindow to notify the host of the new window and its data.
Opening windows explicitly using the functions in this interface should be done carefully, in order to preserve the integrity of the program data base on client instances. Hot key bar event processing also happens through this interface.
This is a global built-in package that provides interfaces for manipulating top level user interface objects, such as top level windows and panels.