WA GET PREFERENCE

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11.2


WA GET PREFERENCE ({*; }object; selector; value)

ParameterTypeDescription
**If specified, object is an object name (string)
If omitted, object is a variable
objectForm objectObject name (if * is specified) or
Variable (if * is omitted)
selectorLongintPreference to get
valueVariableCurrent value of the preference

Description

The WA GET PREFERENCE command can be used to get the current value of the preference in the Web area designated by the * and object parameters.

Pass the preference whose value you want to get in the selector parameter. You can pass one of the following constants, found in the "Web Area" theme:

ConstantTypeValue
wa enable Java appletsLongint1
wa enable JavaScriptLongint2
wa enable pluginsLongint3
wa enable contextual menuLongint4

For more information about these preferences, please refer to the description of the WA SET PREFERENCE command.

In the value parameter, pass a variable that will receive the current value of the preference. The type of variable depends on the preference. In the current version of 4D v11 SQL, the value variable is always a Boolean: it contains True if the preference is active and False otherwise.

See Also

WA SET PREFERENCE.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next