View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jamie Collins Jamie Collins is offline
external usenet poster
 
Posts: 593
Default Width Property missing from Listview (mscomctl.dll) in VB6

(Eric Hofer) wrote ...

Has anybody ever experienced referencing the listview and then not
being able to access the width property? Any thoughts what might be
the cause.

Using the Object Browser, width is not shown for ListView.

Also, myListview.name causes an error though if the mouse hovers, it
shows the name of the element.


Have you noticed, for the MSForms library in the Object Browser that
e.g. the ComboBox has no Width nor Name property but the object called
'Control' does? The following works for me:

Private Sub UserForm_Activate()
Debug.Print ListView1.Name, ListView1.Width
End Sub

Jamie.

--