Skip to content

ComAdd - cCJCommandBarControls

Exposes the Add Codejock COM function in the DataFlex proxy class

Type: Function
Return Data Type: Variant

Parameters

Parameter Type Description
llType XTPControlType Please see the "Codejock Xtreme CommandBars" documentation for more information.
llId Integer Please see the "Codejock Xtreme CommandBars" documentation for more information.
llCaption String Please see the "Codejock Xtreme CommandBars" documentation for more information.
llBefore Variant Please see the "Codejock Xtreme CommandBars" documentation for more information.
llTemporary Variant Please see the "Codejock Xtreme CommandBars" documentation for more information.

Syntax

Function ComAdd XTPControlType llType Integer llId String llCaption Variant llBefore Variant llTemporary Returns Variant

Call Example

Get ComAdd llType llId llCaption llBefore llTemporary to VariantVariable

Description

This exposes the Add Codejock COM function in the DataFlex proxy class.

This class provides a standard COM import wrapper for Codejock CommandBarControls class. All methods, properties and events are the standard COM interfaces for this class. In DataFlex each Codejock object or collection name is prefixed with "cCJ", each COM Property or method name is prefixed with "Com", and each event name is prefixed with "OnCom".

For an overview on the DataFlex implementation of the commandbar system, refer to Using Menus, Toolbars and Statusbars.

For more information about the Codejock COM commandbar system interface, refer to Codejock's Xtreme CommandBar documentation (class: CommandBarControls, function: Add)