User Tools

Site Tools


adding_net_controls_and_components_to_the_designer.htm
Navigation:  Clarion.Net (Clarion#) > Clarion.NET FAQs/Troubleshooting > WinForms >====== Adding .NET Controls and Components to the Designer ====== Previous pageReturn to chapter overviewNext page

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

1.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.

2.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.

3.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.

4.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.

5.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.

6.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.

adding_net_controls_and_components_to_the_designer.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1