The PB Object Outline provides a convenient, single view for navigating and manipulating object components.
The PB Object Outline shows all the components of a PowerBuilder object that is open for editing. The components are grouped into categories such as Controls, Events, and Functions. If you open or switch to a different painter, the PB Object Outline changes to show the components in the painter. If no PowerBuilder object is open, the window contains no outline.
In the outline, you can:
Each object in the PB Object Outline has an icon representing its object type.
Events, functions, indexers, and .NET properties have an additional state icon that indicates the location of the object's script: either locally (with the object), in an ancestor only, or both locally and in an ancestor. The indexer and .NET property state icons reflect the combined get and set states, because an element can represent both methods.
An element that is under source control displays the same source control state icon in the outline and in the system tree.
The context menu for scripts includes options for sorting and filtering the outline.
For indexers, functions, events, and .NET properties, only local scripted objects are shown, by default, in the outline. Context menu options let you include unscripted and scripted ancestor objects.
The default sorting scheme groups all locally scripted objects first, followed by objects that are scripted in an ancestor, followed by unscripted objects. Context menu options let you change the sorting scheme.
Items in menu and global structure outlines appear in the order defined in the menu, unless you change the outline sort order.
When you use context menu options to change sorting or filtering, you override the global settings that are defined in the Script Lists page of the Options dialog box, which apply to all instances of the PB Object Outline. Changes to the current instance of the PB Object Outline do not affect any other instances.
For example, in the PB Object Outline for a window object, if you right-click the Events folder and select New Event, the window's Script view opens with a New Event tab, where you can complete the event definition.