General information
Category:
Forms & Form designer
>>Is it true that whenever you try to add a custom
>>property or a custom method to a form in a formset,
>>that property/method gets actually assigned to the
>>parent formset? I was first surprised to see it, but
>>didn't have time to investigate, so left it the way
>>it was. I works the say, just seems somewhat awkward.
>>...Or is it just me again???
>
>When you create new property or method in formset that property is assigned to the form set.
>You cannot assign property or method to form that are contain in formset.
>The only way to assign method or property to form in a formset is when that form is a class. You can open that class and add method and property to that form.
the same priciple btw is applied when you don't have a formset
when you add a rpoerty it is added to the form and not the current control
when you have a fromset it just does the same things go to the "root"
Arnon
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only