Release 10.1A: OpenEdge Development:
Progress 4GL Handbook

> ## Using Dynamic Graphical Objects

> In Chapter 8, "Defining Graphical Objects," you learned about visual objects you can define in Progress, such as fill-in fields, buttons, and images. In other chapters, you have studied how to define and use record buffers, queries, and temp-tables. For all of these, both visual objects and data management objects, you use the `DEFINE` statement to describe the object to Progress. The compiler then builds a structure to support the object and makes that structure part of the compiled r-code.

> In addition to defining these objects at compile time, you can create them and define their attributes programmatically at run time. This adds great flexibility to your application, as you can create objects specifically to respond to the needs of a procedure under particular circumstances. This might include creating dynamic data representation objects to deal with a variety of different kinds of fields that you can’t determine in advance. Or it could mean creating a temp-table whose fields aren’t known until run time and then creating a query to manage the data in that temp-table.

> This chapter discusses:

> - The `CREATE` statement, which you use for all of these kinds of objects.

> - The use of handle variables to hold the descriptor for the object when it’s created.

> - How you can use graphical dynamic objects in your application.

> This chapter includes the following sections:

> - Creating visual objects

> - Object handles

> - Managing dynamic objects

> - Creating a dynamic browse

> - Creating a dynamic menu

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