Progress
Programming
Handbook


Managing Dynamic Widget Pools

Every dynamic widget you create is assigned to a widget pool. A widget pool is a group of widgets that are scoped together and can be deleted as a group.

Progress creates a single unnamed widget pool for each client session. The session pool is initially the default pool for all dynamic widgets created during the session. It is automatically deleted when the session ends.

You can also create your own named or unnamed widget pools with the CREATE WIDGET–POOL statement:

SYNTAX
CREATE WIDGET-POOL [ pool-name [ PERSISTENT ] ]
  [ NO-ERROR ] 

You can delete a widget pool with the DELETE WIDGET–POOL statement:

SYNTAX
DELETE WIDGET-POOL [ pool-name ] [ NO-ERROR ] 

In general, when you create a dynamic widget, Progress assigns it to the most recently created unnamed widget pool by default. You can explicitly assign a dynamic widget only to a named widget pool. When you delete a widget pool, all dynamic widgets assigned to that pool are deleted as well.

For more information on these statements, see the Progress Language Reference .


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095