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
ColumnWidth("",1)
Paul
P.S. My spell checker suggested "Onionskin" for your surname ;)
On 09/06/2022 16:57, Jürgen Wondzinski wrote:
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
_______________________________________________
Post Messages to:[email protected]
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/[email protected]
** 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.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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.