Example: Add user interface parts
Suppose you have a visual part named
DirectoryView, for which you want to add the following user interface:
![Direcotry view user interface Direcotry view user interface](../hd/images/hdiui21v.gif)
To define this user interface, first, add a push button to the empty window in the Composition Editor:
1. Select
![Buttons category icon Buttons category icon](../hd/images/btncat.gif)
(Buttons category) and
![Push Button icon Push Button icon](../hd/images/pushbtn.gif)
(Push Button part) from the parts palette. After you select them, the status line along the bottom of the editor shows:
Category: Buttons Part: Push Button 2. Click on the upper-right of the window. This adds the push button.
Next, add the other parts. You'll need:
•Text
![Text icon Text icon](../hd/images/text.gif)
in the
![Data Entry category icon Data Entry category icon](../hd/images/textcat.gif)
category
•PushButton xx in yy category
•Multiple Select List
![Multiple Selece list icon Multiple Selece list icon](../hd/images/mlistbox.gif)
in the
![Lists category icon Lists category icon](../hd/images/listcat.gif)
category
After you add the parts, the window resembles:
Last modified date: 03/28/2020