4D View v14PV SET COMMAND STATUS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v14
PV SET COMMAND STATUS
|
PV SET COMMAND STATUS ( area ; command ; status ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D View area | |||||
command | Longint |
![]() |
Command number | |||||
status | Integer |
![]() |
0 = Disable; 1 = Enable | |||||
The PV SET COMMAND STATUS command enables or disables the menu command specified by command. These commands can be localized in menus (allow using 4D View menus using programming) or palettes. PV Commands theme constants are used to define the command parameter. If you pass 0 in the command parameter, the command will modify the status of all 4D View menu commands.
A disabled menu command cannot be executed using programming with the PV EXECUTE COMMAND command.
PV ON COMMAND is also not available if the user tries to use a command disabled using PV SET COMMAND STATUS).
To forbid displaying references in a 4D View area, simply write:
`3rd parameter to 1 to re-enable
PV SET COMMAND STATUS(area;pv cmd view references;0)
See the example for the PV EXECUTE COMMAND command.
Product: 4D View
Theme: PV Area
Number:
15988
Modified: 4D View 2004.1
PV EXECUTE COMMAND
PV GET COMMAND STATUS
4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)