4D v15.4QR EXECUTE COMMAND |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v15.4
QR EXECUTE COMMAND
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| QR EXECUTE COMMAND ( area ; command ) | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |
|
Reference of the area | |||||
| command | Longint |
|
Menu command to be executed | |||||
The QR EXECUTE COMMAND command executes the menu command or toolbar button whose reference was passed in command. The most common use for this command is to execute a command after the user selected that command and your code intercepted it through the QR ON COMMAND command.
In command, you can pass a value or one of the constants of the QR Commands constant theme:
| Constant | Type | Value |
| qr cmd 4D View destination | Longint | 2503 |
| qr cmd add column | Longint | 2608 |
| qr cmd alt back color palette | Longint | 1004 |
| qr cmd automatic width | Longint | 2605 |
| qr cmd average | Longint | 507 |
| qr cmd back color palette | Longint | 1003 |
| qr cmd back colors toolbar | Longint | 2052 |
| qr cmd bold | Longint | 500 |
| qr cmd borders | Longint | 2609 |
| qr cmd center justified | Longint | 504 |
| qr cmd columns toolbar | Longint | 2054 |
| qr cmd count | Longint | 510 |
| qr cmd default justified | Longint | 512 |
| qr cmd delete column | Longint | 2601 |
| qr cmd disk file destination | Longint | 2501 |
| qr cmd edit column | Longint | 2603 |
| qr cmd font color palette | Longint | 1002 |
| qr cmd font dropdown | Longint | 1000 |
| qr cmd format | Longint | 2606 |
| qr cmd generate | Longint | 2008 |
| qr cmd graph destination | Longint | 2502 |
| qr cmd header and footer | Longint | 2005 |
| qr cmd hide column | Longint | 2602 |
| qr cmd hide line | Longint | 2607 |
| qr cmd HTML file destination | Longint | 2504 |
| qr cmd insert column | Longint | 2600 |
| qr cmd italic | Longint | 501 |
| qr cmd left justified | Longint | 503 |
| qr cmd max | Longint | 509 |
| qr cmd min | Longint | 508 |
| qr cmd move left | Longint | 3002 |
| qr cmd move right | Longint | 3003 |
| qr cmd new | Longint | 2000 |
| qr cmd open | Longint | 2001 |
| qr cmd operators toolbar | Longint | 2051 |
| qr cmd page setup | Longint | 2006 |
| qr cmd plain | Longint | 511 |
| qr cmd presentation | Longint | 2611 |
| qr cmd print preview | Longint | 2007 |
| qr cmd printer destination | Longint | 2500 |
| qr cmd repeated values | Longint | 2604 |
| qr cmd revert to save | Longint | 2004 |
| qr cmd right justified | Longint | 505 |
| qr cmd save | Longint | 2002 |
| qr cmd save as | Longint | 2003 |
| qr cmd standard deviation | Longint | 513 |
| qr cmd standard toolbar | Longint | 2053 |
| qr cmd style toolbar | Longint | 2050 |
| qr cmd sum | Longint | 506 |
| qr cmd totals spacing | Longint | 2610 |
| qr cmd underline | Longint | 502 |
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:
791
Created: 4D 2003
4D Language Reference ( 4D v15.4)
4D Language Reference ( 4D v15)
4D Language Reference ( 4D v15.3)
Add a comment