Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Width Property missing from Listview (mscomctl.dll) in VB6

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.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Width Property missing from Listview (mscomctl.dll) in VB6

Interesting. I cannot get the same to work.

Instead I get "Compile error: method or data member not found".

I worked round this by finding the related control in the generic
controls.

'WORKAROUND as WIDTH isn't working
For i = 0 To Me.Controls.Count - 1
If lvwTarget Is Me.Controls(i) Then
vRemWidth = Me.Controls(i).Width
Exit For
End If
Next i



*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Column width indicator missing? TedNYC Excel Discussion (Misc queries) 0 April 23rd 09 04:16 PM
Title Missing or resized to 0 width Jeff K Charts and Charting in Excel 0 May 5th 06 12:01 AM
How to use Listview control kvenku[_10_] Excel Programming 2 June 1st 04 05:45 AM
Width property jim c. Excel Programming 1 September 21st 03 11:03 PM
Problem width width-property Tom Excel Programming 2 August 23rd 03 03:45 AM


All times are GMT +1. The time now is 11:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"