Command PV GET COMMAND STATUS

4D View

PV GET COMMAND STATUS

version 6.8


PV GET COMMAND STATUS (area; command; status; checkbox; name)

ParameterTypeDescription
areaLongint4D View area
commandLongintCommand number
statusInteger0 = Disable; 1 = Enable
checkboxInteger0 = Un-checked; 1 = Checked
nameStringCommand name

Description

The PV GET COMMAND STATUS command gets the status, checkbox and name of the 4D View command name defined by command.

The command parameter corresponds to the number of the command whose information is desired. To define this parameter, use the PV Commands theme constants.

The status parameter returns the state of the command that will have either a value of 0 if the command is disabled or 1 if it is enabled.

The checkbox parameter indicates if the command is checked (value 1) or not (value 0).

The name parameter contains the label of the command.

Example

See the example for the PV EXECUTE COMMAND command.

See Also

PV EXECUTE COMMAND, PV SET COMMAND STATUS.

Constants

PV Commands theme.