Using the Layout Editor, you can easily create and edit ESL objects.
You can create any object on the Objects Palette: any of the ESL regions, a key, a dialog box, or any dialog control.
When you place an object on the Screen Editor's desktop, you automatically set up the object's ancestry, position, and size, by inserting it into the desktop or into another object.
To define an ESL object further, you specify values for its attributes. Each object type has a set of attributes which define its appearance and its function. One of the first attributes you might define for an object is the Name attribute.
Each attribute for an object has a name and a value. For example, the attribute which adds a horizontal scroll bar to a multiline entry field is called HScrollBar. HScrollBar can have a value of true or false.
You will find the names and values of the attributes for an object on the All Attributes page in the Attribute Editor.
When the Layout Editor saves an object to your ESL program file or ESL include file, it writes the ESL object definition for the object using ESL syntax.
For example, when the Layout Editor saves the object definition for the multiline entry field mentioned above, it writes horizontal scroll bar as part of the object definition if the value of the HScrollBar attribute is true.
See the ESL Object List for the complete set of ESL objects and their attributes.
See also: