$combo->list = ( $combo->list, "append1",...



I am trying to use the combo->list = ($combo->list, "new entry") to
append a 'new entry' to a combo box.

When I use it as thus....

sub func
{
   my ( $widget, $combo ) = @_;
   combo->list = ($combo->list, "HI");
}

I get the following error ...

Can't modify non-lvalue subroutine call at .... etc etc

How do I append text to a combo box!?

Thanks


Andy Ford




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]