Try OpenEdge Now
skip to main content
Introducing the Progress Developer Studio for OpenEdge Visual Designer
Creating the Login Dialog : Adding LeftBar.cls to the project : Adding LeftBar.cls to the Toolbox
 

Adding LeftBar.cls to the Toolbox

When you create a custom control, you must add it to the Toolbox so it will be available to drag and drop on other UI elements in your project.
add Leftbar.cls to the Toolbox:
1. Right-click on one of control groups in the Toolbox.
2. Select Add Control Group, as shown in the following illustration:
A blank control group title bar appears in the Toolbox.
Note: Although it can be convenient to put your user controls in a separate control group, it is not mandatory. You can add a user control to one of the existing control groups.
3. Give the new control group a name.
We will call the new control group My Controls.
4. Right-click on My Controls and select Add Controls. The Add Controls dialog appears.
5. Select the ABL Controls tab.
6. Choose the LeftBar control, as shown in the following illustration:
Note: Notice that in addition to Leftbar, HelpButton and LoginBlock are also listed in the ABL Controls tab. The tab automatically lists all the custom controls in the project that are not in the Toolbox. HelpButton and LoginBlock are custom controls that are among the pre-existing resources in the SampleApp project. See the Adding LoginBlock.cls to the Toolbox and Adding HelpButton.cls to the Toolbox for more information.
7. Click OK.
LeftBar is added to the Toolbox in the My Controls group.
Note: LeftBar in the Toolbox is not updated if you make future changes to LeftBar.cls. To update LeftBar, you must remove it and re-import it to the Toolbox.
8. Save and close LeftBar.cls.