>Good day all,
>
>I discovered a class library VCX with a Formset that has only one form class. My question is it possible to convert the formset into a single form class? And how does one go about doing it.
>
>Thanks in advance.
Hack the VCX. That is.
Create a new classlib, copy the formset into it. (backup?)
USE that new classlib
the second rec is the class formset
Copy the Reserved* fields from second to third record
decrement value in Reserved2 (number of objects)
remember name in Class field of second rec
in Parent field of third record, remove this name
in parent fields of all records following, remove name. (with the dot)
it might be better to replace objname in third rec and all of its occurences in parent field following recs to lower case
objname from third rec must be copied to last rec (replace the name of second rec - the class name)
delete second record
use
modi class
remove THISFORMSET where needed
if all is working, delete class from original classlib, copy back, delete new classlib.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]