Skip to content

Class: ValidationList

Properties | Events | Methods | Index of Classes

Provides a default interface object for validation tables used as prompt objects

Hierarchy

cObject > cUIObject > DfBaseObject > DfBaseWindow > DfBaseUIWindow > DfBaseContainer > DfBaseDialog > DfBasePanel > DfBaseToolPanel > FloatingPanel > dbFloatingPanel_ > dbFloatingPanel > dbViewFloatingPanel > dbModalPanel > ValidationList

Show full hierarchy and direct subclasses

Library: Windows Application Class Library

Package: DfddPkLt.pkg

Description

ValidationList is used to provide a default interface object for validation tables used as prompt objects. This is used through field properties in DataDictionary objects.

Usage

Use DfDDPkLt.pkg

Object oObjectName is a ValidationList
End_Object

Of Special Note

When identified as the prompt object for a field (in a DataDictionary) or an item in a DEO, an object of this class automatically provides a popup list of valid database values, by default from the field (to which the DEO item is attached). The usage shown above is the minimal usage that will provide that and all other default behaviors. Below is the syntax of more-advanced usage:

Object oObjectName is a ValidationList // defaults underlined
    Set Sort_State to {True | False}
    Set Code_Display_mode to {CD_Code_Display_Code |
        CD_Code_Display_Description |
        CD_Code_Display_Both | -1} // -1 = auto assign
    Set Static_State to True | False
    Set Table_Title to title | "" // ""=auto assign
    Set Auto_Size_State to True | False // windows only

    // allows you to create any kind of description you want
    Function Code_Description_Value String Description String sCode Returns String
        :
    End_Function

End_Object