RemoveObox
RemoveObox(windowID, oboxID), RemoveObox(, oboxID), RemoveObox
parameters: Identifier of a Windows and an object box
Stack | Description | |
---|---|---|
Stack(In) | an object / a collection | |
Stack(Out) | - |
For each element of the collection or the object on the stack, the corresponding line in the object box is deleted.
Stack | Description | |
---|---|---|
Stack(In) | one object | |
Stack(Out) | - |
If a line exists in the Object User Box for the object on the stack, it is deleted.
Stack | Position | Description |
---|---|---|
Stack(In) | Top | ] |
Top 1 | Object On | |
top 2 | Object On-1 | |
. . . | . . . | |
Top-n | Object O1 | |
Top n-1 | [ | |
Stack(Out) | - |
For each object from the stack with a corresponding entry in the object box, the corresponding line is deleted (see example).
ObjectListView(CX_ACCOUNTING_AREA::clearingObjects, ENTIRE, SELECT_MULTIPLE, ACCEPT_DROP, AUTO_POSITION, 1, 1, 200, 300)
[ INITIALIZE: "clearingObjects" BackRefName
[ "CX_EXPANDABLE::call(Local_G_GetPicture)" ] SetFormat
[ "CX_EXPANDABLE::call(Local_G_ObjectDescription)" HEADER T("Typ", "Type") COLOR LIGHTRED ] SetFormat
DOUBLE_CLICK: GetObject Dup if SendMsg(EDIT_OBJECT)
DROP : UpdateObox
DELETE : GetObjectsSelected RemoveObox
]
[ INITIALIZE: "clearingObjects" BackRefName
[ "CX_EXPANDABLE::call(Local_G_GetPicture)" ] SetFormat
[ "CX_EXPANDABLE::call(Local_G_ObjectDescription)" HEADER T("Typ", "Type") COLOR LIGHTRED ] SetFormat
DOUBLE_CLICK: GetObject Dup if SendMsg(EDIT_OBJECT)
DROP : UpdateObox
DELETE : GetObjectsSelected RemoveObox
]
Button(RemoveBtn, 400, 11, 200, 8, T("Einträge entfernen", "Remove entries"))
[ SELECT: GetObjectsSelected(, clearingObjects) RemoveObox(, clearingObjects) ]