SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2001
    Location
    colorado springs,CO,USA
    Posts
    69
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How can I get the content of the second column in a WinListView

    I am getting the total rows within a WinListView

    li_Usersandgroups=Window("StarTeam Enterprise Advantage_2").Dialog("Project (TEST) Access").WinListView("Users and groups:").GetItemsCount

    Selecting the first row and second column.
    Window("StarTeam Enterprise Advantage_2").Dialog("Project (TEST) Access").WinListView("Users and groups:").Select 0,1

    All the below code always gives the content of the first column.

    ls_return=Window("StarTeam Enterprise Advantage_2").Dialog("Project (TEST) Access").WinListView("Users and groups:").GetItem(i)
    ls_return=Window("StarTeam Enterprise Advantage_2").Dialog("Project (TEST) Access").WinListView("Users and groups:").GetContent
    ls_return=Window("StarTeam Enterprise Advantage_2").Dialog("Project (TEST) Access").WinListView("Users and groups:").GetSelection

    I am able to get the column header and the column count using ColumnCount and GetColumnHeader. I am UNABLE to get the content of the second column.

  2. #2
    Senior Member
    Join Date
    Feb 2005
    Location
    Northern Ireland
    Posts
    529
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How can I get the content of the second column in a WinListView

    Try using .GetSubItem(row number, Column Heading)
    I'm not a complete idiot - some parts are missing.

  3. #3
    Member
    Join Date
    Sep 2001
    Location
    colorado springs,CO,USA
    Posts
    69
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How can I get the content of the second column in a WinListView

    Thanks MoTest I am able to retrieve the content of the second column in a WinListView using the .GetSubItem(row number, Column Heading)

    Thanks for your help

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:43 PM.

Copyright BetaSoft Inc.