Is there a way to input a multi-selection-checkbox of arbitrary length? (SOLVED)
|
11-09-2015, 06:08 PM
(This post was last modified: 08-23-2018 10:25 PM by StephenG1CMZ.)
Post: #1
|
|||
|
|||
Is there a way to input a multi-selection-checkbox of arbitrary length? (SOLVED)
In CHOOSE, I can choose just one from an arbitrary list using:
ASTEROIDS:={"1", "2",..." n"}; CHOOSE(CHS,"",ASTEROIDS); But what I want is to able to select more than one, so that I could select several for plotting. INPUT allows multiple items to be selected from check boxes, but the help seems to assume you know how many check boxes you have, and each is associated with a variable. Using a list variable with check boxes compiles, but gives a run time error: Code:
Is there a way to do this with a list? The output could either be a list of the same size as ASTEROIDS, populated with true and false... Or a smaller list containing just those which have been selected/unselected. If this cannot be done, could the functionality be added, either to INPUT or CHOOSE? Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Is there a way to input a multi-selection-checkbox of arbitrary length? (SOLVED) - StephenG1CMZ - 11-09-2015 06:08 PM
RE: Is there a way to input a multi-selection-checkbox of arbitrary length? - StephenG1CMZ - 11-10-2015, 05:04 PM
RE: Is there a way to input a multi-selection-checkbox of arbitrary length? - cyrille de brébisson - 11-11-2015, 06:42 AM
RE: Is there a way to input a multi-selection-checkbox of arbitrary length? - StephenG1CMZ - 11-11-2015, 09:09 AM
RE: Is there a way to input a multi-selection-checkbox of arbitrary length? - StephenG1CMZ - 11-11-2015, 07:02 PM
RE: Is there a way to input a multi-selection-checkbox of arbitrary length? - cyrille de brébisson - 11-12-2015, 06:57 AM
RE: Is there a way to input a multi-selection-checkbox of arbitrary length? (SOLVED) - StephenG1CMZ - 08-23-2018, 09:58 PM
|
User(s) browsing this thread: 1 Guest(s)