Description
In PowerBuilder 7, you work with global structures in the Structure painter and object-level structures in the Application, Window, User Object, and Menu painters.
Usage
Whether you're working with global or object-level structures, you work with the Structure view, which is the only view available in the Structure painter. For object-level structures, you also use the Structure List view.
|
To do this
|
Do this
|
|
Define a global structure
|
Select File>New to open the New dialog box, then select Structure from the Objects tab page
|
|
Open a global structure for editing
|
Select File>Open to open the Open dialog box, select Structure from the dropdown listbox, then select the structure's name
|
|
Save a global structure
|
Select File>Save or close the painter
|
|
Define an object-level structure
|
Select Insert>Structure from the menu bar or, in the Structure List view, select Add from the popup menu
|
|
Open an object-level structure for editing
|
In the Structure List view, double-click the structure's name
|
|
Delete an object-level structure
|
In the Structure List view, select the structure's name and select Delete from the Edit or popup menu
|
|
Save an object-level structure
|
In the Structure view, define the structure's name and tab to the next field. The structure is added to the Structure List view and saved as part of the object when you save the object
|
|
Insert or delete rows in a global or object-level structure
|
In the Structure view, select Insert or Delete Row from the popup menu
|
|