Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert a form into a activeX component

Status
Not open for further replies.

shresthaal

Programmer
Jun 8, 2005
62
US
how can i make a windows form that can be dropped on another windows form?

would i even use a windows form?

what is the closet thing in VB that is similar to a VFP container
 
chrissie1 forst posted the answer to this some time ago.


dim f2 as new form2
f2.toplevel = false
me.controls.add(f2)
f2.show



Hope this helps.




[vampire][bat]
 
I forgot to add, you can also add the "sub" form to any suitable container control such as a panel as in

dim f2 as new form2
f2.toplevel = false
me.panel1.controls.add(f2)
f2.show


Hope this helps.

[vampire][bat]
 
what is the closet thing in VB that is similar to a VFP container

What's a VFP container?

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
BTW you might consider choosing a better subjectline next time.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top