Class: Validation_List_Mixin
Class Hierarchy:
cObjectMixinValidation_List_MixinClass Definition
Properties
IntegerCode_Display_Mode
IntegerCode_Length
figure it out yourself!
IntegerCurrent_Field
IntegerCurrent_File
IntegerCurrent_Server
IntegerRelational_State
IntegerSort_State
IntegerStatic_State
IntegerWorking_Code_Display_Mode
IntegerWorking_Code_Length
will get calculated
Functions and Procedures
Code_Add_Item(String Descr_value String Data_Value RowId riRec)
Message to add Items to a list. Similar to Add_Item except
it handles an optional second parameter. If no 2nd param the first
is used in its place. This will normally be used inside of Fill_List.
Send Code_add_Item Descr_Value {Data_Value}
stringCode_Description_Value(String DescVal String DataVal)
Augmentation point to support various description/data Display formats.
integerData_Position(integer iItm)
We know what the item is in our data-list. Find its location in the
picklist. This is only an issue if the list is sorted.
Define_Validation_List_Mixin()
Delete_Data()
StringEntry_Value(Integer Itm)
Fill_Item(integer iItem string sValue string sDescription integer iFile rowId riRec)
Fill_List()
Fills the list by loading the entire defined data-file
integerFind_Code_Display_Mode(integer iInvObj integer iDsplyMode)
integerFind_Entry_Value(string sVal)
Pass Code value and return its position from the entry array. This may
not be the same order as the actual picklist items (the pick list may
be sorted).
Initialize_List()
Move_Value_Out()
stringPrivate.Code_Description_Value(String DescVal String DataVal)
Procedure Set Record_Value Integer Itm Integer Rec
Set Value of (EV(Self)) Item (Itm*2+1) to Rec
End_Procedure
Function Record_Value Integer Itm Returns Integer
Integer iRec
Get Value of (EV(Self)) Item (Itm*2+1) to iRec
Function_Return iRec
End_Function
Do not use this. Augment Code_Description_Value instead.
This is created so GUI picklists can augment this at the Client level
making this an augmentable procedure.
RowIDRowId_Value(Integer Itm)
Seed_List()
Set(Integer Itm String Val)
Set(Integer Itm RowId riId)