Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding SubItems
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00345416
Message ID:
00345587
Views:
17
>Can someone tell me the syntax for adding sub items to
>an ActiveX ListView control?
>
>Thanks

Hi Kevin,

here is the solution:

itmX = ThisForm.ListView1.ListItems.Add(...)
itmX.SubItems(2) = "Subitem 2"
itmX.SubItems(3) = "Subitem 3"

Make sure you have added enough ColumnHeader objects into the ColumnHeaders collection.

Alex
Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform