Re: A couple questions regarding listbox. Resent-Date: Mon, 30 Jan 1995 14:26:44 -0500 From: Patrick Gilhuly <pogilhul@logos.uwaterloo.ca> Date: Mon, 30 Jan 1995 14:26:44 -0500 X-Mailer: ELM [version 2.3 PL11] Resent-From: stk@kaolin.unice.fr X-Mailing-List: <stk@kaolin.unice.fr> archive/latest/338 X-Loop: stk@kaolin.unice.fr Precedence: list Resent-Sender: stk-request@kaolin.unice.fr

From: Steve Pothier <pothiers_at_nemesis.tucson.saic.com>
Date: Mon, 30 Jan 1995 15:17:20 -0700

   Hi.

   I am looking for help regarding selection and listboxes. Is it possible
   to determine the indices of all selected items in a listbox? Also,
   can I restrict the listbox so that it only allows one item to be selected
   at a time?

   Thanks,
   Patrick


To only allow one item to be selected, try:

  (tk-listbox-single-select .chooser.c.list)

I don't know the answer to the indices question. (I'm trying to
imagine WHY you would want to. Isn't getting the string that was
selected enough?)

-sp-
Received on Mon Jan 30 1995 - 23:16:21 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST