Chapter 2
|
Customizing database solutions 17
Closing Kiosk solutions
If there is no Quit or Exit button available in your Kiosk solution,
users must force-quit the application by pressing Alt+F4 (Windows).
Mac
OS X version 10.3 (v10.3) users can exit a solution running in
Kiosk mode by pressing F9 or F11 to access another open application
window. With Mac
OS X versions 10.3 and 10.4, users can access
other applications by pressing Control-F2. Force quitting is not
recommended because it can cause data corruption or damage open
files.
To ensure that users can access the primary file and quit the
application cleanly:
1 In each auxiliary file, provide a startup script that opens the
primary file.
1 In each auxiliary file, place a “Main Menu” button that runs the
startup script to open the primary file.
1 In the primary file, include an Exit button.
For information about creating buttons and scripts that emulate
missing menu options and window controls, see
“Emulating menu
commands and window controls” on page 18.
Creating Kiosk solutions
Kiosk mode is ignored if the solution is opened by accounts with the
Full Access privilege set, a privilege set that allows management of
extended privileges, or a privilege set that allows modification of
layouts, value lists, and scripts.
For your solution to display in Kiosk mode, you must:
1 create an account with a limited privilege set or create a specific
Kiosk account.
1 enable Kiosk mode. At the same time that you enable Kiosk mode,
you can bind the database as a runtime solution.
1 clear the default option of logging into the file with the Admin
account.
To create a Kiosk account:
1. Ensure you have a limited access account
2. With the database solution open, choose File menu > Define >
Accounts & Privileges.
3. In the Define Accounts & Privileges dialog box, click New.
4. In the Edit Account dialog box, type an account name, click Active
for the Account Status, and select
New Privilege Set from the Privilege
Set list.
5. In the Edit Privilege Set dialog box, give the privilege set a name
and description.
6. For Layouts, Value Lists, and Scripts, select either All view only or
All no access.
7. Clear the Manage extended privileges checkbox.
8. Select other options as required.
9. Click OK.
To enable Kiosk mode:
1. Follow steps 1 to 9 in “Modifying database solution files” on
page 64.
2. In the Specify Solution Options dialog box, select Enable Kiosk
mode for non-admin accounts
.
3. Select other options as required.
4. Click OK.
5. To be able to quickly repeat the process, click Save Settings, and
choose a folder and location for your settings file.
See “Saving and reusing Developer Utilities settings” on page 71.