CX_SYSTEM_OBJECT::CheckEnumTables
Description:
This class function searches all enumeration tables for ambiguities, i.e. whether different names have been assigned to the same enumeration value.
Code example:
Window(win, . . .)
{
ObjectListView(report, AUTO_POSITION, . . .)
[
INITIALIZE:
[ "CX_CONTAINER::enumTable" ] SetFormat // enum table
[ "CX_CONTAINER::comment" COLOR LIGHTRED ] SetFormat // info about duplicates as text
SystemObject Call(CheckEnumTables) FillObox
SELECT: GetObject FillWindow // show ambiguous entries
]
// Display the offending enum entries here:
ObjectListView(CX_CONTAINER::enumTable.entries, AUTO_POSITION, 605, 3, 1, 1)
[
INITIALIZE: [ "CX_ENUM_ENTRY::externalName" COLOR BLUE ] SetFormat
[ "CX_ENUM_ENTRY::value" COLOR RED ] SetFormat
]
Stack | Position | Object type | Brief description |
---|---|---|---|
Stack(In) | Top | ||
Stack(Out) | Top | COLLECTION |