Class: cComActiveXControl

Module location: FlexCOM20.pkg line 39 (view source)

Class Hierarchy:

DFCOMACTIVEXCONTROLcComActiveXControl

Mixins:

Dflabel_Mixin, Single_Item_Navigate_Mixin, Standard_Object_Mixin,

Direct Known Subclasses:

cCJCommandBars, cCJCommandBarsFrame, cCJFieldChooser, cCJImageManager, cCJPrintPreview, cCJReportControl, cCJTrackControl, cCrystalActiveXReportViewer,

Class Definition

Properties

booleanpbBindValue
If set true, then the control will attempt to bind the value property in the object to the comValue in the control. It will try to keep these values in synch at all times. This allows a control to be used as a Form style value control. the default is true. Even when true if the get/set ComValue methods are not set up to do anything, this will do nothing.
BooleanpbPrivateControlChanging
internal: set true object is notified that the OCX value has changed.
BooleanpbPrivateControlRefresh
Class sets this true when making a local (externally triggered) change. This is set when a Set Value change is made to prevent recursion
BooleanpbPrivateItem_Changed_State
added to eumlate a single item form support
StringpsPrivateValue
This keeps track of value, even when control is not created

Functions and Procedures

Construct_Object()
StringControlValue()
Delete_Data()
BooleanIsComObjectCreated()
returns true if the control is created.
integerItem_Changed_State(integer iItem)
integerItem_Count()
added to eumlate a single item form support
OnChange()
OnControlValueChanged()
notification that the control has changed its value. Used to synchronize the object with the change.
OnCreate()
OnRefreshControl(string sVal)
Notification that the control's value has been changed externally by the program (via set value). Use to synchronize OCX control value.
RegisterComEvents()
It is expected that the Com class will augment this with useful event definitions
Set(integer iItem integer iState)
Inherited from Standard_Object_Mixin
added to eumlate a single item form support
set(integer iItem string sVal)
Inherited from Standard_Object_Mixin
Created to simulate get/Set value.
Set(string sVal)
Inherited from Standard_Object_Mixin
It is expected that the sub-class will provide functionality for these messages. This gets and sets the value of the actual window control. These should only be used to synchronize the window control and the DF side. Do not use for any other purpose.
Shadow_Display()
Inherited from Shadow_Mixin
augment to set the label's appearance
stringValue(integer iItem)

References (8):

ModuleContaining SymbolLine
cCJCommandBars.pkgcCJCommandBars1147
cCJCommandBars.pkgcCJCommandBarsFrame10921
cCJCommandBars.pkgcCJPrintPreview11078
cCJImageManager.pkgcCJImageManager234
cCJReportControl.pkgcCJReportControl6469
cCJReportControl.pkgcCJTrackControl8558
cCJReportControl.pkgcCJFieldChooser10009
cCrystalActiveXReportViewer.pkgcCrystalActiveXReportViewer1018