Class: Validation_List_Mixin
Class Hierarchy:
cObject

Mixin


Validation_List_MixinClass Definition
Properties
Integer
Code_Display_Mode
Integer
Code_Length
figure it out yourself!
Integer
Current_Field
Integer
Current_File
Integer
Current_Server
Integer
Relational_State
Integer
Sort_State
Integer
Static_State
Integer
Working_Code_Display_Mode
Integer
Working_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}
string
Code_Description_Value(String DescVal String DataVal)
Augmentation point to support various description/data Display formats.
integer
Data_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()
String
Entry_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
integer
Find_Code_Display_Mode(integer iInvObj integer iDsplyMode)
integer
Find_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()
string
Private.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.
RowID
RowId_Value(Integer Itm)

Seed_List()

Set(Integer Itm String Val)

Set(Integer Itm RowId riId)