Are widget pools static or dynamic objects?
- Last Updated: April 29, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
It may strike you as you read through this discussion that there is a bit of an inconsistency
in how the AVM manages widget pools as opposed to other kinds of objects. A widget pool
seems to be a dynamic object in its own right, but it does not have a handle. You use a
CREATE statement to create a pool and a DELETE
statement to get rid of it, but you reference it only by name and never by a handle.
This is a valid observation, and one that you simply need to accept. A widget pool is
definitely a dynamic object. It is created only when the CREATE
statement is executed, just like other dynamic objects. It has no definition that the
compiler is aware of as true static objects do. But it is true that you refer to it by
name and not by a handle.