SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Feb 2001
    Location
    Andover, MA, USA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    TreeView.Select() causing Error: Aborted by User

    For some reason whenever I use a treeview.select("item") and the "item" is in a list off of the screen, I get an Error: Script aborted by user message.

    Has anyone seen a problem with SilkTest6.0 finding items in a treeview list that needs to be scrolled to find the item?


    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: TreeView.Select() causing Error: Aborted by User

    I have also come across a similar error. I resovled this by using "FindItem".

    Example:

    Integer index
    index = MyDialog.MyTreeView.FindItem ("/root/child/grandchild")
    MyDialog.MyTreeView.Select (index)

    Just do a search on "FindItem" in the Help Topics of the Software.

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  3. #3
    Member
    Join Date
    Oct 2002
    Location
    Alameda, CA
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: TreeView.Select() causing Error: Aborted by User

    I have had a problem selecting items in a tree view that required me coding in scrolling two lines before doing the select.

    I was getting the expected error though, not the "aborted by user" error. This si with ST5.5.3

    ------------------
    -Josh
    -Josh

  4. #4
    Junior Member
    Join Date
    Feb 2001
    Location
    Andover, MA, USA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: TreeView.Select() causing Error: Aborted by User

    Thanks for the help. I've actually got around the problem by getting a ListCount and selecting the last item on the list first.

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 05:35 AM.

Copyright BetaSoft Inc.