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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Froms from Packages

Status
Not open for further replies.

jnecciai

Programmer
Mar 18, 2002
17
0
0
US
Hello all.

I know (think) I've done this in the past but ...

I want to put a collection of forms (TForm) into a package. Most of the forms will be created from within the package via "wrapper" functions (ex. ShowMyForm()). When I attempt to call ShowMyForm from the application, however, I get an AV error.

I guess the short question is: How do I put forms in a package and use them from the application?
 
I was making a form one time as a property editor for something in a package. I added the form to the package, then from the component that would use the form, I initialized the form. That didn't work though, and I thought it was strange, so I did some research.

I read somewhere (help file maybe?) that you can not compile forms in the same package as the component, but the form must be compiled as a separate entity. Perhaps this is getting you.

Good luck,
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top