Right idea, wrong token. Use 5 individual "switch" tokens instead of
"option". The switch tokens will return a integer value of 0 if clear and 1
if checked.
If you use 5 individual option tokens with single options, they will all
return a integer value of 0. Option tokens with only one option will always
be set to the first (and only) option by default whit no ability to change.


==================================================
 Fred Lauzus, CAM Programming Coordinator
 High Steel Structures, Incorporated
 mailto:[EMAIL PROTECTED] http://www.highsteel.com
==================================================
 




-----Original Message-----
From: Pete Ruehle [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 11:47 AM
To: 'SmartCam Forum'
Subject: [mfg-smartcam] ctk option token


I have a ctk dialog that needs an option to select more than one item.  The
option token can have several items but only one can be selected.  I have 5
items and I need to be able to select any combination of the 5.  I tried 5
separate option tokens with one item for each but the one item is selected
by default and can't be turned off because there are no other items.  Is
there a way to accomplish what I need?  I was thinking to use one selection
token for each of the 5 items I need  and having a yes and no option for
each that seems a bit awkward.


Regards,
Pete Ruehle
SPM
Armonk, NY

======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to