The New and Inherit dialog boxes have been changed for PowerBuilder .NET.
The New dialog box enables you to access wizards to create most of the objects you need for your application. It is similar to the same dialog box in
PowerBuilder Classic, with these differences:
- Integrated object wizards – instead of tabbed pages, the PowerBuilder .NET New dialog box has a single page where you can select an object type and launch its wizard.
- Filter – before selecting an object type, you can simplify the list of available objects by entering a filter expression.
A simple filter expression is a string of characters that matches only a subset of objects. For advanced filtering, you can include any of the special Match function characters. Expressions are not case-sensitive.
Examples:
-
wpf matches WPF and wpf.
-
listbox matches include DropDownListBox and DropDownPictureListBox.
-
^listbox matches only Listbox.
-
Button$ matches CommandButton, RadioButton, and PictureButton.
-
...x finds any three characters that are followed by x.
See the online help on the Match function for details about special characters.
- Object tree – the main part of the window contains a tree view of all the object types that you can create, organized into a hierarchy of folders.
When you select an object, a brief description of it appears below the view.
- Wizard navigation buttons - In addition to enabling you to step back and forth through its pages, the navigation buttons provide two different methods for creating an object:
The Inherit From Object dialog box has these changes:
- Libraries – in addition to PBLs, enables you to choose one referenced assemblies in the target.
- Objects – shows the objects in the PBLs that you select in the Libraries list. Shows classes and controls for selected assemblies.
- Object types – Classes and Controls are added to the drop-down list.