You could have an array of 10x10 Booleans with a transparent picture control
over them. The picture control allows you to get the mouse pointer
coordinates and the mouse button state. With this information you can
implement the drag-select scheme you describe.
There is no simple way of doing this as far as I'm aware.
Adam Russell
wrote in message
news:tjp3lrntmfgi48@corp.supernews.com...
> A friend of mine asked me for help. He is building a program to look at a
> grid of 100 components. He has a 2D array of on/off buttons that control
> which components the program will look at. He would like to make it
easier
> for the user to select which of the 100 he wants to check so he'd like to
be
> able to choose sets of buttons using left-click a
nd drag. Any ideas?
>
>