logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

$combo->list = ( $combo->list, "append1",...: msg#00042

Subject: $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


<Prev in Thread] Current Thread [Next in Thread>