Hi

It's a few years old now, but I have the Sky Software Shell Megapack suite (V8) which contains the two (ActiveX) controls above as well as a drive combo control.  I have used these successfully in the past but have run into a problem.  The Fileview control has a Public Read-Write Property ColumnWidth which, according to the help file, "Gets/Sets the width of the column in pixels".  The VB syntax in the help is:

Public Property ColumnWidth(ByVal ColumnName As String, ByVal ColumnIndex As Long) As Long

? MyFileView.ColumnWidth("Name",0) and ? MyFileView.Object.ColumnWidth("Name",0)  both work fine and return 120.

Trying to set the column width as follows

MyFileView.ColumnWidth("Name",0) = 240 gives "Function argument value, type or count is invalid"

and MyFileView.Object.ColumnWidth("Name",0) = 240 gives "Syntax error"

Am I missing something (I have checked and there is no method or event on the control which references ColumnWidth).

Alternatively, can anybody suggest affordable (aka cheap, preferably free) alternatives to these controls which are designed to closely mimic the behaviour of Windows Explorer?

Many thanks

Paul Newton

--- StripMime Report -- processed MIME parts ---
multipart/alternative
 text/plain (text body -- kept)
 text/html
---

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/f6dc45c1-5769-9bbd-3505-b8848c46e...@gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to