Preferences Component
Fnd_Pref_SetBoolean
Fnd_Pref_SetBoolean (name; value {; scope})
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | Text | Name of the preference item |
| value | Boolean | The new preference value |
| scope | Longint | The preference’s scope (optional) |
Description
This routine stores a Boolean value.
Fnd_Pref_SetBoolean ("Toolbar";$displayToolbar_b)
If no scope is specified, the preference is stored as a local preference. Pass a third parameter to specify the scope of the preference:
Fnd_Pref_SetBoolean ("Toolbar";$displayToolbar_b;Fnd_Pref_Shared )
A preference’s scope should not be changed. Doing so may cause unpredictable results.
Extracted source text
Fnd_Pref_SetBoolean (name; value {; scope})
Parameter Type Description
name Text Name of the preference item
value Boolean The new preference value
scope Longint The preference’s scope (optional)
This routine stores a Boolean value.
Fnd_Pref_SetBoolean ("Toolbar";$displayToolbar_b)
If no scope is specified, the preference is stored as a local preference. Pass a third parameter to specify the
scope of the preference:
Fnd_Pref_SetBoolean ("Toolbar";$displayToolbar_b;Fnd_Pref_Shared )
A preference’s scope should not be changed. Doing so may cause unpredictable results.