Skip to content

ComEnableSwitch - cCJStatusBarSwitchPane

Exposes the EnableSwitch 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.
llEnable Boolean Please see the "Codejock Xtreme CommandBars" documentation for more information.

Syntax

Procedure ComEnableSwitch Integer llId Boolean llEnable

Call Example

Send ComEnableSwitch llId llEnable

Description

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

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