This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
QR Get command status
|
QR Get command status ( area ; command {; value} ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
Reference of the area | |||||
command | Longint |
![]() |
Command number | |||||
value | Longint, Text |
![]() |
Value for the selected sub-item | |||||
Function result | Longint |
![]() |
Command status | |||||
The QR Get command status command returns 0 if the command is disabled or 1 if it is enabled.
value returns the value of the selected sub-item, if any. For example, if the command that was selected is the Font menu (1000) and the font selected was “Arial”, value would return “Arial”, or if the command that was selected is a color menu (1002, 1003 or 1004), value would return the color number.
You can use the command in two types of contexts:
In command, you can pass a value or one of the constants of the QR Commands constant theme.
If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid command number, the error -9852 will be generated.
Product: 4D
Theme: Quick Report
Number:
792
Created: 4D 2003
4D Language Reference ( 4D v20 R7)