On Wed, Mar 08, 2006 at 05:45:47PM -0500, lanas wrote:
> I'm trying to put new items in a Combo Box widget but instead
> of having only the new items, they accumulate.
>
> I maintain an array and I use that array to fill the Combo Box:
>
> @activeList = grep (/$activeFilter/, @$configFile);
> $form->MyComboBox->List->add_items(@activeList);
You could just use set_items(\@activeList) instead of
add_items(@activeList).
\Anton.
-- An undefined problem has an infinite number of solutions. -- Robert A. HumphreyReceived on Thu 09 Mar 2006 - 09:01:57 CET
This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET