Got the answer : HideSelection=False
Pankaj
"Pankaj" <pa_inbox@h...> wrote in message news:245238@p..._vb...
>
> Hi All:
>
> I am using following code to programmatically select a listitem returned
> from FindItem method.
>
> 1 Set itmX = lvwFiles.FindItem(txtPathName, valuecol, , lvwPartial)
> 2 Set lvwFiles.SelectedItem = itmX
> 3 lvwFiles.ListItems(itmX.Index).Selected = True
>
> In debug mode I can watch the value of lvwFiles.selecteditem.text
represents
> the current setted item
> but in GUI it doesn't show the Selected Item as a highlighted one.
>
> I couldn't find any other methods/properties which I can Use to achieve
this
> beside SelectedItem, Selected
> Any Pointers...
> TIA
> Pankaj
>
>
>
>
>