Class: cDbCJGridColumn

Module location: cDbCJGridColumn.pkg line 12 (view source)

Class Hierarchy:

DFCOMAUTOMATIONOBJECTcComAutomationObjectcCJReportColumncCJGridColumncDbCJGridColumn

Class Definition

Properties

BooleanAuto_Label_State
tGridComboHelperpGridComboHelper
used with combo lists

Functions and Procedures

IntegerAutoFindMode()
return the autofind mode for the current item. 0 = no autofind, 1 = autofind, 2 = autofind_ge
Bind_Data(Integer iFile Integer iField)
this will be sent by the Entry_item command
BooleanCanNavigateIntoColumn(Boolean bForward)
Inherited from cCJGridColumn
aumgented to handle skipfound
StringCheckedStateToValue(Boolean bChecked)
Inherited from cCJGridColumn
augmented to return value from DD
IntegerCode_Display_Mode()
use the same interface here as other DEOs
IntegerColumnOrdering()
ComboAddBlankItem(String sBlankDesc)
adds a blank description
ComboAddValidationTableItem(String sDescription String sData)
add an item to the combo
StringComboDataToDescription(String sValue)
For a column, pass data and return the description
ComboDeleteData()
Inherited from cCJGridColumn
Combo related messages that connect the combo to a validation table aumgent to clear the data values in the helper object
StringComboDescriptionToData(String sValue)
for a column, pass description and find the data
StringComboDescriptionValue(Integer eMode String sDescVal String sDataVal)
Public augmentation point. Pass current datavalue and all info in record buffer. Should return what you want to see on the screen. Augment to support various description/data Display formats.
ComboFillItem(Integer iItem String sData String sDescription Integer iFile RowID riId)
this is the one the callback calls. Passed info is predefined. We only need some of it
ComboFillList()
Fills the list by loading the entire defined data-file
Construct_Object()
Inherited from cCJGridColumn
CopyDDFieldOptions(Handle hoDDO)
this is sent when the grid is activated and the DD is binding this column for iFile and iField
CopyDDMaskOptions(Handle hoDDO Integer iFile Integer iField Boolean bZero)
HandleCustomEditObject()
Inherited from cCJGridColumn
augment to set the edit's bindng and column
BooleanDDNoput()
BooleanDDSkipFound()
BooleanDEO_Object()
Inherited from cCJGridColumn
Can be used to determine if the column object understands teh DEO interface
BooleanDoAutoFind()
autofind if an autofind DD and the field is changed. As soon as a succuessful autfoind occurs, the field is reset
BooleanEntering()
Inherited from cCJGridColumn
augment to send field entering message
Entry()
Inherited from cCJGridColumn
augment to handle non-static combos
IntegerExecDDFieldIntFunction(Integer iMsg)
helper function to handle any Get File_Field_Xxxxx iFile iField to iVal message
StringExecDDFileFieldStrFunction(Integer iMsg)
helper function to handle any Get File_Field_Xxxxx iFile iField to sVal message
BooleanExiting()
Inherited from cCJGridColumn
augment to send field exiting message
FileFieldLabelChanged(Integer iFile Integer iField Boolean bLong String sLabel)
DD label has changed. If auto_label_state is T, then update any required labels
FileFieldMaskChanged(Integer iFile Integer iField String sMask)
DD mask has changed. Update as needed
FileFieldOptionChanged(Integer iFile Integer iField Integer iOptions Integer bClear)
a field options has changed. Update as needed
BooleanFileFieldValueChanged(Integer iFile Integer iField String sValue Integer iChangeDisabled)
BooleanFormatDisplayValue(String ByRef sValue)
Inherited from cCJGridColumn
augment to do the data to description translation if a combo
StringFormatEditedValue(String sValue)
Inherited from cCJGridColumn
augment to do the description to data translation if a combo
StringInitialValue()
Inherited from cCJGridColumn
called from datasource to provide a value. This assumes the record or whatever is in place. Can be augmented to provide a custom initial value
BooleanNotifyEndEdit(String sValue)
Inherited from cCJGridColumn
aumgmented to handle autofind. returns true if value is changed
OnSetCalculatedValue(String ByRef sValue)
Called when initial value does not have binding table
IntegerPrompt_Object()
Inherited from cCJGridColumn
Set(Integer eVal)
Inherited from cCJGridColumn
StringStatus_Help()
Inherited from cCJGridColumn
standard deo/dd augmentation to get status from DD
UpdateCurrentValue(String sValue)
Inherited from cCJGridColumn
agumented to handle noput
UpdateDataToExternalSource(String sValue Integer iUpdateFlag Integer iFlags)
Inherited from cCJGridColumn
this is called by the datasource to move data to the DD buffer
BooleanValidating()
Inherited from cCJGridColumn
augmented to do DD validaton
BooleanValueToCheckedState(String sValue)
Inherited from cCJGridColumn
augmented to return value from DD

Instances

oCKModuleColumnCheckForCrystal.dg428
oVersionColumnCheckForCrystal.dg433

References (21):

ModuleContaining SymbolLine
Customer.sloNumber29
Customer.sloCustomerName35
Invt.sloItemID32
Invt.sloDescription38
Invt.sloUnitPrice44
Invt.sloOnHand50
Order.vwoInvt_Item_ID245
Order.vwoInvt_Description252
Order.vwoInvt_Unit_Price258
Order.vwoOrderDtl_Qty_Ordered264
Order.vwoOrderDtl_Price270
Order.vwoOrderDtl_Extended_Price276
Orderhea.sloOrderHea_Order_Number34
Orderhea.sloCustomer_Customer_Number40
Orderhea.sloCustomer_Name46
Orderhea.sloOrderHea_Order_Date52
Orderhea.sloOrderHea_Order_Total59
Salesp.sloSalesP_ID28
Salesp.sloSalesP_Name34
Vendor.sloVendor_ID26
Vendor.sloVendor_Name32