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

nonexclusive button goup woes...



Hi all.  I have a (hopefully) simple question about the CW_FORM routine:

I'm creating a set of nonexclusive buttons, and I want to set the
default values all at once using the set_value keyword...  The problem
is, how do I set multiple values?  For example:

IDL>d=['1,base,,column',
      '0, button, ok, quit',
      '2, button, option1|option2|option3|option4, set_value=1 0 0 1']
IDL>a=cw_form(desc,/column)

How do I make, for example, option1 and option4 set by default?  I've
tried set_value=1001, set_value=[1,0,0,1], set_value=1|0|0|1 and
various other combinations, but nothing seems to work...  Any ideas?

Thanks in advance.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Bowman         "Smash forehead on keyboard to continue."
Laboratoire Tectonique
Institut de Physique du Globe - Paris
4 Place Jussieu
75252 Paris Cedex 05
France