Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do FORM vs. createobject()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00859255
Message ID:
00859468
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform