all groups > vb.net controls > june 2006 >
You're in the

vb.net controls

group:

Expose Form Controls



Expose Form Controls Dimsion
6/12/2006 10:51:20 AM
vb.net controls: Hi,

How do i expose all my forms and it controls to other form in the project?
I want to be able to add a form and some control on it, this then be
available to all other forms.

form1 click event:
'this allow me to change the textbox on form2 from form1
Form2.text=""
'this allow me to add item to form2 from form1
Form2.listview.item.add("")
end form1 click event:

Dimsion
Visual Studio 2005

Re: Expose Form Controls Dimsion
6/12/2006 12:07:21 PM
Hi Stuart,

I'm a bit slow, so can you explain it?
I don't have the UserControls in my left Toolbox, and also what reference
should i have added?

Thanks,
Dimsion
Visual Studio 2005/VB

[quoted text, click to view]

Re: Expose Form Controls Stuart Nathan
6/12/2006 7:53:17 PM
Go to Toolbox, UserControls and right click to add references.

Re: Expose Form Controls Dimsion
6/13/2006 1:41:19 PM
Anyone know how to do this?

Thanks,
Dimsion

[quoted text, click to view]

AddThis Social Bookmark Button