Mike:

Got it.  So a list box needs to be loaded with items via a listitemsadd 
property or a load from file in order for shift-clicking to be enabled.   
Something 
to remember, except I'm never in favor of things that work one-way sometimes 
and another way other times.   If you have a simple listbox that you can load 
from a file, and users find they can shift-click, then you have another form 
with a very complicated data set that you want to use a regular table lookup 
and they find that they CAN'T shift-click, they'll ask those annoying 
questions. 
  So I think a developer would have to make the decision to ALWAYS load from 
a file so they have that ability, or NEVER do it, don't you think?   

Karen

 
> >Bill:  I appreciate all suggestions!
> >
> >However, this doesn't help with what I need.  If there's 100 things in the
> >listbox, and they want 90 of them, they have to click 90 times.  I already 
> >have
> >a button to "select all items" -- they don't even have to click into the 
> list
> >box to do that.    But listbox multi-select doesn't support shift-clicking 
> to
> 
> Yes it does.  It just doesn't work when you bind it to a table as a lookup 
> using a column expression.
> 
> If you add "Items" manually from the ListBox property dialog box or add them 
> on 
> the fly LISTITEMSADD or Load_From_File, it behaves as it should.
> 
> if you select an item in the ListBox and THEN press and hold Shift, then 
> either 
> scroll down (if the last selection is beyond the listbox view limit) to the 
> last contiguous item and click on it, THEN release the shift key..
> 
> Everything in between will be SELECTED.
> 
> While items are SELECTED, if you press and hold the CTRL key you can 
> DESELECT 
> any SELECTED item or Add an UNSELECTED item to the SELECTED items.  I swear 
> this is true....
> 
   

Reply via email to