>>>How would the end user resize the columns at runtime?
>>ListView (OCX) columns are resizable by default. Hover the mouse pointer over the the column borders, left click and resize/
>>
>>>Same question the automation of columnar headings. We would have to use a label object wouldn't we?
>>
>>I don't know about using label objects, with ListView (OCX) - that is a function of the columnheader collection object. Headers may be added through the builder or coded, ex:
>>
procedure AddListViewHeadings(oLV)
>>with oLV
>>.COLUMNHEADERS.ADD(,[MANF_CODE],[Code],72,,)
>>.COLUMNHEADERS.ADD(,[MANF_NAME],[Description],152,,)
>>endwith
>
>Thank you.
>I have other questions regarding can the user highlight part of the row and copy/paste. An example would be a list of items, quantities, prices bought buy a customer. The end user wants to copy just the item code into a word document.
A trick I use is a right click popup menu. The user selects a listitem, right clicks - and a popup appears with a "Copy" selection. When user selects copy:
_ClipText=cSomeStringDataFromListViewOrListViewSource
Right clicking on a word document offers a menu to "Paste" the contents stored to clipboard by _Cliptext.
There is also the DataToClip function that will copy records and fields to the clipboard. Pasting to word would be same as _cliptext paste.
>I will try the typical scenarios and post questions with the 'How to achieve'.
Imagination is more important than knowledge