VB - Property Grid component

Webnode

Hello, in this tutorial I'll teach you how to use the PropertyGrid component in visual basic 2010.

1. Start by creating (or opening) a (new) project.
2. Double click this item in the toolbox:

Your form should now look like this:

Drag the propertygrid to the right of your form, like this:

3. Add a textbox

4. Click the properygrid component and change the following property to textbox1:

 

(SelectedObject = Textbox1)

 

The propertygrid will now look like this:

 

5. Press F5 (run your exe) . You are now able to change the properties of textbox1 without using visual basic.

 

Download the source codes:
PropertyGrid.rar (59,9 kB)


Webnode

Topic: VB - Property Grid component

No comments found.