SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    anyone has problem with GetItemText with treeview?

    I'm trying to use GetItemText to return the
    text on this treeview window.

    My call is like this.GetItemText(x)

    x is an integer, the first value is 1.
    The treeview window is defined in a dll.
    everytime I run this, it receives an exception.
    the dll is in the correct location.
    jd

  2. #2
    Junior Member
    Join Date
    Mar 2004
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: anyone has problem with GetItemText with treeview?

    ok, this works now. after rework on the dll.
    now, my question is how do I setfocus on the base of treeview object without using the click method.

    this.setfocus() seems is not working, and according to the help, setfocus only works with textfield, and I'm using window ID to identify my treeview windows.
    jd

  3. #3
    Senior Member
    Join Date
    Feb 2004
    Location
    Canada
    Posts
    291
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: anyone has problem with GetItemText with treeview?

    Is the base of your treeview the top-most node? If so, try this.TypeKeys("<home>").

    Brendan

 

 

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 08:27 PM.

Copyright BetaSoft Inc.