Class: cCJCommandBarMixin

Module location: cCJCommandBarSystem.pkg line 1658 (view source)

Class Hierarchy:

cObjectMixincCJCommandBarMixin

Class Definition

Properties

BooleanpbDockNextTo
BooleanpbEnableDocking
BooleanpbHideWrap
BooleanpbPrivateCloseable
BooleanpbPrivateCustomizable
BooleanpbPrivateEnableAnimation
BooleanpbPrivateGripper
BooleanpbPrivateShowExpandButton
BooleanpbPrivateVisible
IntegerpeBarPosition
IntegerpeStretched
IntegerpiBarID
IntegerpiPrivateWidth
StringpsPrivateTitle

Functions and Procedures

Define_cCJCommandBarMixin()
End_Construct_Object()
IntegerGetComProperty(Handle hmPrivateProperty Handle hmCOMProperty)
InitComInstance()
This may not be needed if we can treat commandbar objects as static // use this to find the Commandbar COM control and attach this object to it. // If a COM object cannot be found, this is an error and and error is declared. Procedure AttachComObject Handle hoCommandBars Variant vCommandBar Integer iBarId i iBars iComBarId Get CommandBarSystemObject to hoCommandBars Get piBarID to iBarId Get ComCount of hoCommandBars to iBars For i from 1 to iBars Get ComItem of hoCommandBars i to vCommandBar Set pvComObject to vCommandBar Get ComBarID to iComBarId If (iBarId=iComBarId) Begin Procedure_Return End Loop Send ReleaseComObject Error DFERR_PROGRAM "Assert: AttachComObject failed to attach commandbar" End_Procedure
OnCreate()
This is called when the commandbar is created and is bound to the commandbar object.
BooleanpbCloseable()
BooleanpbCustomizable()
BooleanpbEnableAnimation()
BooleanpbGripper()
BooleanpbShowExpandButton()
BooleanpbVisible()
IntegerpiWidth()
StringpsTitle()
Set(Boolean bValue)
Set(Boolean bValue)
Set(Boolean bValue)
Set(Boolean bValue)
Set(Boolean bValue)
Set(Integer iValue)
Set(Boolean bValue)
Set(String sValue)
SetComProperty(Handle hmPrivateProperty Handle hmCOMProperty Integer iValue)
Generic Get and Set property that is used to get and set a DF/COM property. can be used by any integer or boolean property