DoCommand
Syntax
nCommand Identifies the ELS-QB component command to invoke.
The
ELS-QB component supports following command
IDs:
QB_CMD_UNDO = 1,
QB_CMD_REDO
= 2,
QB_CMD_CUT
= 3,
QB_CMD_COPY
= 4,
QB_CMD_PASTE
= 5,
QB_CMD_SELECTALL
= 6,
QB_CMD_FIND
= 7,
QB_CMD_REPLACE
= 8,
QB_CMD_PRINT
= 9,
QB_CMD_PRINT_PREVIEW
= 10,
QB_CMD_PAGE_SETUP
= 11
Description
Call
this method to execute
the command specified by ELS-QB component
command IDs.
Remarks
DoCommand
method returns Zero if the command has been executed
successfully,otherwise
non-zero.
Example
For
Sample of DoCommand usage see Sub tbrMDI_ButtonClick() of the frmMDI or Edit menu command handlers of frmELS_QB in ELS_QBDemoVB project.