Some ideas that I use when making this kind of button:
Make an array of clusters of {string, numeric, boolean} in which:
The numeric is hidden (right click menu/advanced/hide control) (skip
this if you want the numeric to display
and
The boolean is colored TRANSPARENT and overlaid on the string. So it
it seems to the user that he clicks on the string but in fact clicks
on an invisible boolean.
Another idea is to combine the strings and booleans into one set of
buttons by making a cluster of identical booleans arranged so that
they look like an array and setting the boolean text on each button
to the desired string.
These ideas imply writing some radio button logic to generate an
index to select the desired numeric element. This is more work than it
m
ight seem
Easiest is to use events and convert the mouse coordinates into an
array index. I just made one of these and I have the code handy if
you like.
Adam
On Wed, 18 Jun 2003 19:06:45 -0500, John P
wrote:
>Hi,
>
>I want to create a control in labView 6.1 that presents the user with a list
>of string ...