Re: clist
| From: | Rich Payne | Date: | Mon, 10 Jun 2002 14:52:46 +0000 |
| Subject: | Re: clist | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2111@lists.php.net to get a copy of this message | ||
On 10 Jun 2002, dragon wrote:
> Hi
>
> How can I delete a selected row form a clist?
> How can I get the row
> number and how can I delete this row?
You delete it with a call the $clist->remove($row_number). As for getting
the row number, use $clist->selection[0]. That's assuming you're only
allowing one row to be selected at a time (simple selection I think).
--rdp
--
Rich Payne
http://talisman.mv.com