Re: [BLACKBOX] Control for SETs

From: [at]} <Bob>
Date: Mon, 28 May 2012 19:11:52 +0100

----boundary-LibPST-iamunique-381068804_-_-
Content-type: text/plain

> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Robert (SELEX GALILEO, UK)
>
> 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?
>

You could use a multi-select list. This is a list (drop-down or permanently
on show) where you can select and clear multiple items. Setting and
unsetting the corresponding bit is a simple toggle in the event handler.

Most of the GUI style guides have examples online. The MS one is here:
<http://www.microsoft.com/en-us/download/details.aspx?id=2695>

B


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-381068804_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4gRnJvbTogQmxhY2tCb3ggW21haWx0bzpCTEFD
S0JPWEBMSVNUUy5PQkVST04uQ0hdIE9uIEJlaGFsZiBPZiBDYW1wYmVsbCxccGFyDQo+IFJvYmVy
dCAoU0VMRVggR0FMSUxFTywgVUspXHBhcg0KPiBccG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IE1TIG9uZSBpcyBoZXJlOlxwYXINCjxodHRwOi8vd3d3Lm1pY3Jvc29m
dC5jb20vZW4tdXMvZG93bmxvYWQvZGV0YWlscy5hc3B4P2lkPTI2OTU+XHBhcg0KXHBhcg0KQlxw
YXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ug
d2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0h9
fQAUYUgL
----boundary-LibPST-iamunique-381068804_-_---
Received on Mon May 28 2012 - 20:11:52 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:02 UTC