Skip to content

ComAddButton - cCJMessageBar

Exposes the AddButton Codejock COM method in the DataFlex proxy class

Type: Procedure

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.
llToolTip String Please see the "Codejock Xtreme CommandBars" documentation for more information.

Syntax

Procedure ComAddButton Integer llId String llCaption String llToolTip

Call Example

Send ComAddButton llId llCaption llToolTip

Description

This exposes the AddButton Codejock COM method in the DataFlex proxy class.

This class provides a standard COM import wrapper for Codejock MessageBar 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: MessageBar, method: AddButton)