[Properties (by Name)] [Methods (by Name)]
Holds a list of tmsecomponent items, automatically removing an item when it is destroyed
Source position: mseclasses.pas line 684
type tcomponentqueue = class(tlinkedqueue,iobjectlink) |
public |
function findobject(); |
function add(); |
procedure insert(); |
function getfirst; |
function getlast; |
property items []: tmsecomponent; default; [rw] |
end; |
|
Holds a list of tmsecomponent items, automatically removing an item when it is destroyed |
|
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
TObject,iunknown |
Holds a list of tmsecomponent items, automatically removing an item when it is destroyed — useful, for example, to track dynamically created subforms without needing explicit removal code. If maxcount is set, the queue behaves as a ring buffer, and getfirst/getlast then also remove the returned item, so do not use them just to peek at an item. Use findobject to find an item's actual index, rather than storing indexes.