>>>>I have created a multi select list box and I would like to select all the things in the list. The normal windows way is to select the top one and then press ctrl shift and end and that will select all of the things in the list. But that does not seem to work for this list. The only way I can get the selection to work is if I choose the top item in the list and then press shift and end followed by ctrl shift end. Does anyone have any clues as to why this would occur? My users need to select all items in the list sometimes as well as selected items.
>>>
>>>Not helping that problem, but I just usually have a checkbox:
>>>
>>>"Select All" and do it in code...easier for user that way, too.
>>
>>Ok say that I put it in my rightmouse button to select all or a button on the form. Then what would be the code inorder to select them all?
>
>Just run through the items in checkbox click:
>
>
>for n = 1 to this.parent.list.listcount
> this.parent.list.selected(n) = .T.
>endfor
>
>and set to .F. when de-selecting checkbox
Thanks, but you have no clue as to why the list box does not respond to the CTRL SHIFT END?
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope