Adding .NET Controls and Components to the Designer

Top  Previous  Next

Here are the general steps for adding new controls and components to the Clarion.NET Designers.



Start the IDE and open a project. Activate the Form design window. Right click on one of the tabs in the Toolbox pad and choose Configure Sidebar.



The left-hand pane displays a list of the available categories. You can add your new component to one of the existing categories or create a new one. To add a new Category, click the New button in the lower left corner.



Click the Add Components button. Select the Custom tab. Click the button just to the right of the File Name textbox. Use the Open explorer window and select the assembly file (DLL) containing your new components.



The file path and name are now displayed in the File Name textbox. Click the Show Components button. The components should now be displayed in the right-hand pane. Click the OK button.



The new component is now available on the Category tab you selected. Before you can place an instance of the control on your Form, you may have to change the Form's Font.Unit property to Point in the Property pad.



You can now place an instance of the control on your Form and have access to the properties and events in the Property pad.


Finally, make sure to add the newly added assembly to the References node in the target Project.