Combo selection-list for static data-file lookup.
ComboFillItem(integer iItem string sValue string sDescription integer iFile RowId riId)
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
- Integer
iFile - Integer
iField - Integer
iSrvr - Integer
iNdx - Integer
iValFile - Integer
iObj
Combo_Add_Blank_Item(String Blank_Desc)
Set(Integer iItem String sValue)
Item_Value_Changed(Integer iItem String sValue)
- integer
Activate()
- Integer
iRVal - Integer
iObj - String
sValue
Combo_Item_Changed()
Copy_Mask_Options(Integer iDSO Integer iFile Integer iField Integer iDEO Integer iItem)
Right now combo forms do not understand masks
- String
Data_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.
- String
sValue
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.
- Integer
iData_File - Integer
iData_Field - Integer
iDSO - Integer
iOldState - Integer
iState
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).
- Integer
iSrvr
- Integer
Exiting(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
- Integer
bErr
Request_Save()
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.
- Integer
eDisplayMode - Boolean
bDataOnly