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

Place a number of Forms into a Formset

Status
Not open for further replies.

bebbo

Programmer
Dec 5, 2000
621
GB
Using visual foxpro 6.0, I'm working on a project which has over 50 individual forms. Is there any easy way these can be placed into formsets without rewriting them?

Thanks

By the way is there anyone who has read my request, re loosing mouse controls, who has any idea how to get the cursor and mouse controls back. Just to remind you the mouse click is calling the "form click" procedure instead of the command button. Once again thanks.
 
You could save the forms as form classes into a class library and dynamically (runtime), add them to your formset.

Remember that using a formset is not a recommendable practice. It is like using public variables, only use them if you are very certain about what you are doing.

Remember also that when you save a form as a form class, you will loose your dataenvironment.

I used formsets in my CrownBase private project in which I had a maintenance form, a list form, a lookup form and a business object.
In this case, if I may be so self indulgent ;-), a formset is a very handy tool.

HTH,
Weedz (Wietze Veld)
My private project:And especially for VFP rookies:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top