Skip to content

ComAddItem - cCJCommandBarGalleryItems

Exposes the AddItem Codejock COM function in the DataFlex proxy class

Type: Function
Return Data Type: Variant

Parameters

Parameter Type Description
llId Integer Please see the "Codejock Xtreme CommandBars" documentation for more information.
llCaption String Please see the "Codejock Xtreme CommandBars" documentation for more information.

Syntax

Function ComAddItem Integer llId String llCaption Returns Variant

Call Example

Get ComAddItem llId llCaption to VariantVariable

Description

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

This class provides a standard COM import wrapper for Codejock CommandBarGalleryItems 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: CommandBarGalleryItems, function: AddItem)