Jon
Identifying the MultiSelect grid options by site
[tt]
Universal Tek-Tips
Class library Yes Optional
Classes available 7 *2
Exclude records Yes Optional
Clear button Yes Optional
Approx lines code 550+ 120
Create scope clause No Yes
Add to existing grid No Yes
[/tt]
* A custom class is available to replace form properties/method, as is a grid class for new projects.
Why re-invent the wheel? was the question you posed, and the answer is because the wheel didn't exist, as far as I could tell.
The criteria was to be able to
add the MultiSelect functionality to a grid, which the Universal version does not allow.
If you are creating a new form, then either version is fine - but if you want to add the functionality to an existing form with a grid, you have to replace the grid class.
The Tek-Tips version allows you to simply drop the custom class onto the form, and add the odd line of code to the
.Init(), .AfterRowColChange() and
.Text1.Click() events.
The other feaure of the Tek-Tips version is the scope clause created, apparently not available in the Universal.
At least now, unless there are any more out there, you have a couple of choices.
Chris