Class: Field_Attributes

Module location: Datadict.pkg line 328 (view source)

Class Hierarchy:

ARRAYField_Attributes

Class Definition

Properties

StringPrivate.Validation_Types
Private: This replaces the use of arrays to get at this value. This allows us to find specific validation types (like checkboxes) more quickly than scanning an array

Functions and Procedures

Construct_Object()
************************************************************************// Construct_object ype // Define storage for validation types. Access to storage is private. // ************************************************************************//
Create_Items()
************************************************************************// Create_Items. // Set any defaults required by this class when the main file is created. // Create a string which contains all validation types. Set all to // No extended validation type. // ************************************************************************//
StringField_CheckBox_Value(Integer iField Integer iState)
************************************************************************// Function Field_CheckBox_Value // Return the Value associated with the field and its select-state. // ************************************************************************//
StringField_Error_Message(Integer iField)
IntegerField_Error_Number(Integer iField)
************************************************************************// Get Field_error_Number // Get Field_error_Message // Used to retreive the error number and message for a particular field // ************************************************************************//
Field_Fill_List(integer iField integer iObj integer iMsg)
************************************************************************// Field_Fill_List // All extended validations know how to send callback messages (iMsg) to // the calling object (iObj). This allows external lists to get filled w/ // the contents of a range. Used by combo boxes, spinners, etc. // ************************************************************************//
Field_Fill_List_Field_Check(Integer iField Integer iObj Integer iMsg)
************************************************************************// Procedure Field_fill_list_Field_Check // Callback to provide all valid value for this validation. // Call back with all valid check values // ************************************************************************//
Field_Fill_List_Field_Checkbox(Integer iField Integer iObj Integer iMsg)
************************************************************************// Procedure Field_fill_list_Field_Checkbox // Callback to provide all valid value for this validation. // Just call back with the two true and false values // ************************************************************************//
Field_Fill_List_Field_Range(Integer iField Integer iObj Integer iMsg)
************************************************************************// Procedure Field_fill_list_Field_Range // Callback to provide all valid value for this validation. // Just call back with the two range values // ************************************************************************//
Field_Fill_List_Field_Table(Integer iField Integer iObj Integer iMsg)
************************************************************************// Procedure Field_fill_list_Field_table // Callback to provide all valid value for this validation. // Pass the request on to the validation table. This is the most common // use of this. // ************************************************************************//
integerField_Table_Object(integer iField)
************************************************************************// Field_Table_Object // Return the id of the validation table if one exists. Otherwise return // a zero. // ************************************************************************//
IntegerField_Validation_Type(Integer iField)
************************************************************************// Get/Set Field_Validation_Type // Returns the extended validation type for the passed field. // ************************************************************************//
integerField_Value_Select_State(Integer iField String sValue)
************************************************************************// Function Field_Value_Select_State // Return the select_state based on the passed value and field // ************************************************************************//
integerNext_Validation_Type(String sType Integer iOffset)
************************************************************************// Next_Validation_Type // Return field number of next field matching the passed validation type. // Pass validation type and last position checked. Return 0 if no match // ************************************************************************//
IntegerPrompt_Object(Integer iField)
************************************************************************// Procedure Prompt_Object // Often extended valditation types can provide automatic prompt // objects. If the extended type supports a prompt object and there is // a global validation_list object, we will use it // ************************************************************************//
Set(Integer iField String sType)
Set(Integer iField Integer iErr String sMsg)
************************************************************************// Procedure Set Field_Error // This procedure will be called by the Extended_Data_Set to set the // errornumber and message which will be triggered when it needs to. // ************************************************************************//
Set(Integer iField String sMin String sMax)
************************************************************************// Procedure Set Field_Value_Range // Procedure to set the range for a field. It will automatically set the // validation type of the field as well. // ************************************************************************//
Set(Integer iField String sCheck)
************************************************************************// Procedure Set Field_Value_Check // Procedure to set the check for a field. It will automatically set the // validation type of the field as well. // ************************************************************************//
Set(Integer iField String sTrue String sFalse)
************************************************************************// Procedure Set Field_CheckBox_Values // Procedure to set up a checkbox field. We will store the TRUE and FALSE // Values in the extended array. // ************************************************************************//
Set(Integer iField Integer iObj)
************************************************************************// Procedure Set Field_Value_Table // The object keeps track of a validation table object. This table object // can be any type of object must at a minimum understand a small message // protocol (see xvaltbl.pkg for info) // ************************************************************************//
IntegerValidate_Field(Integer iField)
************************************************************************// Validate_Field // This function manages the validation of a field against its extended // validations. // ************************************************************************//
IntegerValidate_Field_Check(Integer iField)
************************************************************************// Validate_Field_Check // Function to check a fields value agains a given check string. // ************************************************************************//
IntegerValidate_Field_Checkbox(Integer iField)
************************************************************************// Validate_Field_Checkbox Check that the buffer value is one of the two checkbox values. // ************************************************************************//
IntegerValidate_Field_Range(Integer iField)
************************************************************************// Validate_Field_Range // Function to check a fields value agains a given check string. // ************************************************************************//
IntegerValidate_Field_Table(Integer iField)
************************************************************************// Validate_Field_Table // This valdates against a validation table if appropriate (if a table // exists and the table's validate_State is T). It validates by passing // the message validate_value to the validation table object // ************************************************************************//

Instances

Break_ArrayReport.pkg222
Button_IdsDfclient.pkg498
ColCkBoxDfsellst.pkg129
EVDfdtcent.pkg41
EVDfenrad.pkg93
Export_ArrayDd_cddeo.pkg42
item$groupdep_item.pkg85
item_group_idsdep_item.pkg67
oArgscCommandLine.pkg22
oBreakArraycReport.pkg217
oColParamsDfdata.pkg70
oDFColorArrayDf_print.pkg982
oDFColorArrayWinprint2.pkg74
oDiagramArrayDf_print.pkg1061
oDiagramArrayWinprint2.pkg94
oEntryValuesDd_pklst.pkg52
oErrorNumbercWebAppError.pkg146
oErrorTextcWebAppError.pkg148
oFieldNrcWebAppError.pkg152
oFileNrcWebAppError.pkg150
oFileNrcVdfInternetSession.pkg351
oLineNrcWebAppError.pkg154
oRecordsDatalist.pkg178
oRptTotalcHtmlreport.pkg37
oWpoIDcVdfInternetSession.pkg439
Radio_ObjectsDfrad_mx.pkg45
RptTotalDfwinrpt.pkg61
RptTotalcWinReport2.pkg23
Seq_Channel_Listseq_chnl.pkg57
Statushelp_ArrayWindows.pkg3030
Statushelp_ArraySthlp_mx.pkg11
Statushelp_ArrayDatadict.pkg1184
System_File_objDatadict.pkg1193
WinQLErrorsCrystalReport.pkg962

References (1):

ModuleContaining SymbolLine
Datadict.pkgField_Attributes1180