Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Problem with ListView Subitem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with ListView Subitem

 Post Reply Post Reply
Author
Message
pernia View Drop Down
Newbie
Newbie
Avatar

Joined: 29 July 2009
Location: Iran
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote pernia Quote  Post ReplyReply Direct Link To This Post Topic: Problem with ListView Subitem
    Posted: 14 August 2009 at 12:49am

hi
i use cj 12.0
my wonderful problem is it that how i can add an icon to a listview subitem in report mode?
i have no problem to adding icon to listview item but seems in subitems not supported !!!!!

    ListView1.IconSize = 16
    ListView1.Icons.LoadIcon "F:\icon1.ico", 1, xtpImageNormal
    ListView1.ListItems.Add , , "nitza.ico", 1

does anybody have a code advise to add an icon to listview subitem?

  ListView1.ListItems(1).ListSubItems(1).icon????   [doesn't work]
  ListView1.ListItems(1).SubItems(1).icon????   [doesn't work]

  ListView1.ListItems(1).ListSubItems.Add ([index],[key],[text])   [doesn't work too]
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.