Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do FORM vs. createobject()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00859255
Message ID:
00859478
Views:
26
>>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) && oLV = Myform.MyocxListView
>with oLV
>.COLUMNHEADERS.ADD(,[MANF_CODE],[Code],72,,) && Define column 1 header
>.COLUMNHEADERS.ADD(,[MANF_NAME],[Description],152,,) && Define column 2 header
>endwith &&oLV
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.
I will try the typical scenarios and post questions with the 'How to achieve'.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform