<<
I did think of the 2-box solution.  I've never implemented it myself yet, but 
I've seen it enough times and have enough samples.  The problem is, it's 
usually demonstrated with fairly simple data sets.  The list box in this app 
will display about 10 items of data to help them make up their minds what to 
process.  You couldn't locate list boxes side-by-side as it's always shown in 
samples. >>

There are other ways to implement this solution without using two side-by-side 
list boxes.  One way is to present the selection in a single non-editable text 
field with a button next to it.  That button pops up a separate form with the 
side-by-side list boxes, the user selects, and you return to the original form 
with the new selected list displayed.  Alternatively, use the non-editable text 
box with + and - buttons next to it, which use CHOOSE CHKBOX menus to allow you 
to add one or more items to the selected list or remove one or more already 
selected items.

All these methods let you compress the _display_ of the selected items to a 
single line and do the actual selection in pop-up forms or menus.

Additionally, you may be able to combine two of MikeB's suggestions to get 
things to work the way you want.  It sounds like R:Base is internally handling 
the ExtendedSelect property of the list box differently, depending on whether 
the list is sourced from the database or not.  It's possible (I don't know) 
that you can use that SendMessage trick that Mike showed you after the creation 
of a regular data driven box to "turn on" the ExtendedSelect property of the 
list box ( the one that controls use of SHIFT-CLICK).  You would have to know 
the internal Windows message number for that command (if it exists).
--
Larry

Reply via email to