4D v16.3QR ON COMMAND |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
QR ON COMMAND
|
QR ON COMMAND ( area ; methodName ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
Reference of the area | |||||
methodName | String |
![]() |
Name of the replacement method | |||||
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. Therefore in this context, QR ON COMMAND is unusable with most constants (see also QR EXECUTE COMMAND).
The QR ON COMMAND command executes the 4D method passed in methodName when a Quick Report command is invoked by the user, by the selection of a menu command or by a click on a button.
If area equals zero, methodName will apply to each Quick Report area until the database is closed or until the following call to the command is made: QR ON COMMAND(0;"").
methodName receives two parameters:
Note: When planning on compiling the database, it is necessary to declare both $1 and $2 as Longints, even if you do not use them.
If you want the initial command to be executed, you need to include the following in the called method: QR EXECUTE COMMAND($1;$2).
If you pass an invalid area number, the error -9850 will be generated.
Product: 4D
Theme: Quick Report
Number:
790
Created: 4D 2003
Modified: 4D v14
Modified: 4D v16
4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)