4D v16.3

QR EXECUTE COMMAND

Home

 
4D v16.3
QR EXECUTE COMMAND

QR EXECUTE COMMAND 


 

QR EXECUTE COMMAND ( area ; command ) 
Parameter Type   Description
area  Longint in Reference of the area
command  Longint in Menu command to be executed

Starting with 4D v16, a new Quick reports (64-bit) editor is included with 64-bit versions of 4D. The "ribbon" interface of this editor is not customizable. As a result, most of the menu commands designated by the constants below can not be used in the 64-bit Quick Report editor. Compatible constants are indicated in the table.
Note that it is possible to design a fully customized interface using the area included in the 64-bit editor (see Creating a Quick Report).

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 menu command selected by the user and intercepted in your code via the QR ON COMMAND command.

In command, pass a value or one of the constants of the QR Commands constant theme:

Constant Type Value Comment
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 64-bit editor compatible (use of command QR RUN recommended)
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 64-bit editor compatible
qr cmd plain Longint 511
qr cmd presentation Longint 2611
qr cmd print preview Longint 2007 64-bit editor compatible
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.



See also 

QR Get command status
QR ON COMMAND

 
PROPERTIES 

Product: 4D
Theme: Quick Report
Number: 791

This command modifies the Error system variable

 
HISTORY 

New
Created: 4D 2003
Modified: 4D v16

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)