CX_ENUM_TABLE::AddEntry
Beschreibung:
Die Funktion erzeugt ein neues Objekt der Klasse CX_ENUM_ENTRY und verbindet es mit der Tabelle.
Code-Beispiel:
. . . Item("New Entry") [ SELECT: table Call(AddEntry) // create a new entry, ... table FillWindow // display it in the object list below, and ... ] . . . ObjectListView(CX_ENUM_TABLE::entries, ENTIRE, AUTO_POSITION, 1, 1, 1, 1) [ INITIALIZE: "CX_ENUM_ENTRY::externalName[0]" SetFormat "CX_ENUM_ENTRY::externalName[1]" SetFormat [ "CX_ENUM_ENTRY::value" COLOR LIGHTRED ] SetFormat [ "CX_ENUM_ENTRY::Mask()" COLOR BLUE ] SetFormat DOUBLE_CLICK: [ ] OboxEdit // allow the user to edit this entry ]
Stack | Position | Objekttyp | Kurzbeschreibung |
---|---|---|---|
Stack(IN) | Top | - | |
Stack(OUT) | Top | OBJECT |