It depends on what form your input is in as to the neatest way of doing it.
I implemented a 'Hex to SET' converter as a Tool dialog in Astrobe - that
only needed a text box for the input. An extract from the Help file is here:

http://www.astrobe.com/HexToSET.htm

(NOTE: if you are typing it in the URL is case-sensitive)

The source code (in Component Pascal for .NET) is attached.

Regards,

Chris Burrows
CFB Software
http://www.astrobe.com

>-----Original Message-----
>From: BlackBox [mailto:BLACKBOX@LISTS.OBERON.CH] On Behalf Of 
>Campbell, Robert (SELEX GALILEO, UK)
>Sent: Tuesday, 29 May 2012 1:01 AM
>To: BLACKBOX@LISTS.OBERON.CH
>Subject: [BLACKBOX] Control for SETs
>
>Has anyone  developed (and published) a Control suitable for 
>specifying the elements in a SET (or the bits in a computer 
>register if you prefer)?
>
>
>I know that you can use a Check Box, but I wanted something a 
>bit neater (32 Check Boxes rather clutters up a Form).
>
>Does anyone have a suitable example of such a Control in 
>another language / environment from which I might copy the 
>visual appearance?
>
>
>Regards
>
>Robert
>SELEX Galileo Ltd
>Registered Office: Sigma House, Christopher Martin Road, 
>Basildon, Essex SS14 3EL A company registered in England & 
>Wales.  Company no. 02426132
>********************************************************************
>This email and any attachments are confidential to the 
>intended recipient and may also be privileged. If you are not 
>the intended recipient please delete it from your system and 
>notify the sender.
>You should not copy it or use it for any purpose nor disclose 
>or distribute its contents to any other person.
>********************************************************************
>
>
>----
>To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to 
>LISTSERV@LISTS.OBERON.CH
>

----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH