Class Hierarchy:
cObject

Mixin


cCJCommandBarMixinClass Definition
Properties
Boolean
pbDockNextTo
Boolean
pbEnableDocking
Boolean
pbHideWrap
Boolean
pbPrivateCloseable
Boolean
pbPrivateCustomizable
Boolean
pbPrivateEnableAnimation
Boolean
pbPrivateGripper
Boolean
pbPrivateShowExpandButton
Boolean
pbPrivateVisible
Integer
peBarPosition
Integer
peStretched
Integer
piBarID
Integer
piPrivateWidth
String
psPrivateTitle
Functions and Procedures

Define_cCJCommandBarMixin()

End_Construct_Object()
Integer
GetComProperty(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.
Boolean
pbCloseable()
Boolean
pbCustomizable()
Boolean
pbEnableAnimation()
Boolean
pbGripper()
Boolean
pbShowExpandButton()
Boolean
pbVisible()
Integer
piWidth()
String
psTitle()

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