Thanks wOOdy
Column "Name" has index 0 and column "Item" has index 1, usw. It works
like this:
ColumnWidth("Item",1) - the column returned is "Item"
ColumnWidth("Item",2) - the 2 is ignored and the column returned is
"Item"
You can also return the "Item" column like this
Try addressing the Array with numbers instead of names. Foxpro has no concept
of Names instead of rownumbers for parameters. (only in collections)
i.e. figure out what row index that "Name" has.
Then use it like
MyFileView.ColumnWidth(5,0) = 240
wOOdy
you tried to use the STORE command
STORE 240 TO MyFileView.ColumnWidth("Name",0)
It might not work either.
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of
Paul Newton
Sent: Thursday, June 02, 2022 12:20 PMTo:profoxt...@leafe.com
Subject: Re: Probl
22 19:18
An: profoxt...@leafe.com
Betreff: Re: Problem setting ActiveX control property (Folderview and Fileview
controls)
Thanks Tracy
It's worth a try ... I tried ... and still get "Function argument value,type
or count is invalid"
Paul
On 02/06/2022 17:39, Tracy Pearson wrote:
> Have y
Alan and all
Thanks to all who responded with suggestions. I ended up doing as Alan
suggested and have written a VB6 wrapper for the control - no mean feat
considering my very limited experience of VB. There are still one or two
things to iron out so if anybody would be willing to assist,
Alan
That sounds quite plausible. I know that it is possible to create a VB6
wrapper for a DLL (although I have never done so), but is it be possible
to create a VB6 wrapper for an OCX ActiveX control with a visual interface?
If so, I am quite prepared to give it a go but wouldn't really
Paul
The control might just be really particular about the parameter being a long
integer. I have seen discussion of this sort of problem where the person ended
up writing a VB6 wrapper and calling that from VFP instead.
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm
ech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul
Newton
Sent: Thursday, June 02, 2022 12:20 PM
To:profoxt...@leafe.com
Subject: Re: Problem setting ActiveX control property (Folderview and
Fileview controls)
Thanks for the suggestion Eric but the first column is in fact 0 because
the f
gt; From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul
> > Newton
> > Sent: Thursday, June 02, 2022 12:20 PM
> > To:profoxt...@leafe.com
> > Subject: Re: Problem setting ActiveX control property (Folderview and
> > Fileview controls)
> >
&
ight not work either.
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul
Newton
Sent: Thursday, June 02, 2022 12:20 PM
To:profoxt...@leafe.com
Subject: Re: Problem setting ActiveX control property (Folderview and
Fileview controls)
Thanks for the suggestion Eric
om
Subject: Re: Problem setting ActiveX control property (Folderview and
Fileview controls)
Thanks for the suggestion Eric but the first column is in fact 0 because
the following
? MyFileView.ColumnWidth("Name",0) gives the correct result for the
width of the first column Paul
On 02
Thanks for the suggestion Eric but the first column is in fact 0 because
the following
? MyFileView.ColumnWidth("Name",0) gives the correct result for the
width of the first column Paul
On 02/06/2022 16:59, Eric Selje wrote:
It's interesting that the VB syntax has the first column as 0 when
It's interesting that the VB syntax has the first column as 0 when VB is a
one-based array language. Have you tried a 1 there instead for the 2nd
parameter?
On Wed, Jun 1, 2022 at 7:55 PM Paul Newton
wrote:
> Hi
>
> It's a few years old now, but I have the Sky Software Shell Megapack
> suite
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
14 matches
Mail list logo