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:
00859468
Views:
24
>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
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform