Dave,
I don't think it's documented very well if at all but you can disable a line on a listbox the same way as in a popup. Put a "\" as the very 1st character on the line. ie:
Thisform.lstDates.AddListItem('\ this line is disabled',1,1)
Hope this helps,
John.
>How are you disabling list items?
>
>Dave
>
>>I DOS if you disabled a bar in a popup, that bar would not get focus. In VFP the Listbox has taken the place of the popup for the most part but if you disable a line in the listbox it can still get focus.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn