CX_OBJECT_MANAGER::SlotXref
Beschreibung:
Nicht mehr verwenden!
Durch Utility
cxxosr.exe ersetzt.
erzeugt eine Cross-Referenz aller in der Datenbank verwendeten
Code-Beispiel:
Window(win, 50, 50, 735, 150, "Slot XRef")
{
Menu
{
Item("Slot X-Ref")
{
Item("show objects")
[
SELECT: OpenWindow(objWin, 1)
]
}
}
0 SetSort
FindAll(CX_SLOT_XREF) FillObox
SELECT: GetObject SendMsg(SHOW_SLOT_XREF)
]
Attach(slots, LEFT, STRETCH, 5)
Attach(slots, RIGHT, STRETCH, 5)
Attach(slots, TOP, STRETCH, 5)
Attach(slots, BOTTOM, STRETCH, 5)
}
Window(objWin, 50, 201, 735, 150, "Objects")
[
SHOW_SLOT_XREF: -> slot
slot Copy(Name()) slot Copy(slot) String("Slot %s (%d)") PutValue
slot FillWindow
]
{
// show objects with a specific dynamic datafield
{
Menu
{
Item("Slot X-Ref")
{
Item("show objects")
[
SELECT: OpenWindow(objWin, 1)
]
}
}
ObjectList(slots, AUTO_POSITION, 1, 1, 1, 1) // show all
dynamic data fields
[
INITIALIZE: [ "CX_SLOT_XREF::Name()",
COLOR BLUE ] SetFormat
[ "CX_SLOT_XREF::slot", COLOR LIGHTRED,
JUSTIFY_RIGHT ] SetFormat
0 SetSort
FindAll(CX_SLOT_XREF) FillObox
SELECT: GetObject SendMsg(SHOW_SLOT_XREF)
]
Attach(slots, LEFT, STRETCH, 5)
Attach(slots, RIGHT, STRETCH, 5)
Attach(slots, TOP, STRETCH, 5)
Attach(slots, BOTTOM, STRETCH, 5)
}
Window(objWin, 50, 201, 735, 150, "Objects")
[
SHOW_SLOT_XREF: -> slot
slot Copy(Name()) slot Copy(slot) String("Slot %s (%d)") PutValue
slot FillWindow
]
{
// show objects with a specific dynamic datafield
ObjectListView(CX_SLOT_XREF::objects, ENTIRE,
AUTO_POSITION, 1, 1, 1, 1)
Attach(objects, LEFT, STRETCH, 5)
Attach(objects, RIGHT, STRETCH, 5)
Attach(objects, TOP, STRETCH, 5)
Attach(objects, BOTTOM, STRETCH, 5)
Stack | Position | Objekttyp | Kurzbeschreibung |
---|---|---|---|
Stack(In) | Top | CX_OBJECT_MANAGER | |
Stack(Out) | Top |
Funktionsaufruf: Call(SlotXref)