Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add data to 2nd column in listview control (report mode
Message
 
 
To
21/06/2006 22:13:41
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01130685
Message ID:
01130776
Views:
14
The additional columns are stored as subitems.
...  
  loListItem = thisform.olecontrol1.listitems.add(,'c11','panah x',,'pnh1')
  loListItem.SubItems(1) = 'panah b'
...
loListItem
>hi all how to add to 2nd column in listview control...
>i try this.........but does not work.
>
>
>* mode report (3)
> thisform.olecontrol1.view=3
>
>* small icon
> thisform.olecontrol1.smallicons=thisform.olecontrol2.object
>
>* header icon
> thisform.olecontrol1.columnheadericons=thisform.olecontrol2.object
> thisform.olecontrol1.columnheaders.add(1,'c1','Code',50,0,'pnh1')
> thisform.olecontrol1.columnheaders.add(2,'c2','Name',100,0,'pnh2')
>
> thisform.olecontrol1.listitems.add(1,'c11','panah x',,'pnh1')
> thisform.olecontrol1.listitems.add(2,'c21','panah b',,'pnh2')
>
>
>thank's.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform