Identify attributes
- Last Updated: October 14, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
These attributes identify characteristics of the object:
- NAME — This CHARACTER attribute holds the name of the object.
- PRIVATE-DATA — This CHARACTER attribute lets you associate any free-form text with an object, which can help program logic that determines how to identify or treat the object at run time.
You can see most of the object attributes that you can set for an object type in the AppBuilder property sheet for the object, such as the one shown for the Customer.Name fill-in field in the CustOrders window.
The Advanced button takes you to the dialog box shown below. These are attributes that you might use less often, some of which are mentioned in this section.
Certain property sheet settings, such as Display and
Enable, affect AppBuilder-generated executable statements and
preprocessor values rather than the DEFINE statement for the object
itself. You saw the effect of the Display and
Enable settings already in the code for the
AppBuilder-generated enable_UI procedure:
|
The AppBuilder also keeps the list of displayed and enabled objects in preprocessor values:
|
Other property sheet settings for attributes that you cannot set as part of the object
definition are set in a series of ASSIGN statements the AppBuilder
generates, such as these for the READ-ONLY,
PRIVATE-DATA, SELECTABLE,
MOVABLE, and RESIZABLE attributes in this example:
|
As you develop your own applications, you need to keep in mind which attributes you can
define in a DEFINE statement, which in a frame definition, and which
only in executable statements at run time.