Class: Extended_Deo_dfCombo_mixin
Combo selection-list for static data-file lookup.
Class Hierarchy:
cObjectMixinExtended_Deo_dfCombo_mixinClass Definition
Functions and Procedures
integerActivate()
Attach_Deo_To_Server()
change so that list is initialized first. Also, set extended_deo_state before
attempting to fill list (it needs that information).
Combo_Add_Blank_Item(String Blank_Desc)
Combo_Fill_List()
Procedure Combo_Fill_Item integer iItem string sValue string sDescription ;
integer iFile integer iRec
If sDescription eq '' Move sValue to sDescription
Send Combo_Add_Item sDescription sValue // first may get altered
Set Record_Number Item iItem to iRec
End_Procedure
Fills the list by loading the entire defined data-file
Combo_Item_Changed()
ComboFillItem(integer iItem string sValue string sDescription integer iFile RowId riId)
Copy_Item_Options(Integer iDSO Integer iFile Integer iField Integer iDEO Integer iItem)
augment to unset capslock state if the combo is not a code display. The DD might have set the capslock but
this only makes sense if you are displaying the actual data.
Copy_Mask_Options(Integer iDSO Integer iFile Integer iField Integer iDEO Integer iItem)
Right now combo forms do not understand masks
StringData_Value(integer item#)
This Replaces DD message with one that understands
description and data difference. Actually Combos have this but
lose it with the DD mixin. These restablishes it.
Entry_Defaults()
Augmented to handle entry_state=F combos. These type of combos must
have a default value (since something always appears in the form). So
we must check for cases where we have a value in the combo that is
not reflected in the DD buffer. In such a case, update the buffer with
a default value.
IntegerExiting(Handle hoDestination)
added to support DD based autofinds. DoAutoFind is defined in dd_deomx.pkg
It is rather odd to have an autofind as part of a dbCombo, but this was supported
in VDF7 when dd_autofind was added to the item-options. Now that autofinds are handled
through the DD, we need these messages to call doAutoFind at the right time
Item_Value_Changed(Integer iItem String sValue)
Request_Save()
Set(Integer iItem String sValue)