Class: cDbCJGridColumn
Class Hierarchy:
DFCOMAUTOMATIONOBJECT

cComAutomationObject


cCJReportColumn



cCJGridColumn




cDbCJGridColumnClass Definition
Properties
Boolean
Auto_Label_State
tGridComboHelper
pGridComboHelper
used with combo lists
Functions and Procedures
Integer
AutoFindMode()
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
Boolean
CanNavigateIntoColumn(Boolean bForward)
aumgented to handle skipfound
String
CheckedStateToValue(Boolean bChecked)
augmented to return value from DD
Integer
Code_Display_Mode()
use the same interface here as other DEOs
Integer
ColumnOrdering()

ComboAddBlankItem(String sBlankDesc)
adds a blank description

ComboAddValidationTableItem(String sDescription String sData)
add an item to the combo
String
ComboDataToDescription(String sValue)
For a column, pass data and return the description

ComboDeleteData()
Combo related messages that connect the combo to a validation table
aumgent to clear the data values in the helper object
String
ComboDescriptionToData(String sValue)
for a column, pass description and find the data
String
ComboDescriptionValue(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()

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)
Handle
CustomEditObject()
augment to set the edit's bindng and column
Boolean
DDNoput()
Boolean
DDSkipFound()
Boolean
DEO_Object()
Can be used to determine if the column object understands teh DEO interface
Boolean
DoAutoFind()
autofind if an autofind DD and the field is changed. As soon as a succuessful
autfoind occurs, the field is reset
Boolean
Entering()
augment to send field entering message

Entry()
augment to handle non-static combos
Integer
ExecDDFieldIntFunction(Integer iMsg)
helper function to handle any Get File_Field_Xxxxx iFile iField to iVal message
String
ExecDDFileFieldStrFunction(Integer iMsg)
helper function to handle any Get File_Field_Xxxxx iFile iField to sVal message
Boolean
Exiting()
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
Boolean
FileFieldValueChanged(Integer iFile Integer iField String sValue Integer iChangeDisabled)
Boolean
FormatDisplayValue(String ByRef sValue)
augment to do the data to description translation if a combo
String
FormatEditedValue(String sValue)
augment to do the description to data translation if a combo
String
InitialValue()
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
Boolean
NotifyEndEdit(String sValue)
aumgmented to handle autofind. returns true if value is changed

OnSetCalculatedValue(String ByRef sValue)
Called when initial value does not have binding table
Integer
Prompt_Object()

Set(Integer eVal)
String
Status_Help()
standard deo/dd augmentation to get status from DD

UpdateCurrentValue(String sValue)
agumented to handle noput

UpdateDataToExternalSource(String sValue Integer iUpdateFlag Integer iFlags)
this is called by the datasource to move data to the DD buffer
Boolean
Validating()
augmented to do DD validaton
Boolean
ValueToCheckedState(String sValue)
augmented to return value from DD
Instances
oCKModuleColumn | CheckForCrystal.dg | 428 |
oVersionColumn | CheckForCrystal.dg | 433 |
References (21):