SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Mar 2002
    Location
    Chennai,Tamil Nadu,India
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    List Box Problem

    Hi,
    i have a ListBox Control with some items.
    Based on the selection of item in listbox some events are getting Fired.

    while i am trying to choose an item from List it gives error as "Control is Not Responding"

    this is the Command i Gave. ListBox1.Select("a1")

    any of u help me to overcome this?


    Thanks,
    Myils.

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

  2. #2
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: List Box Problem

    try looking up 'Control is not responding' in the help index. It gives you things to try if you get this message. One being setting the following agent option prior to the offending line of code:
    Agent.SetOption(OPT_VERIFY_RESPONDING, FALSE). Another being, wrapping it in a do/except.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  3. #3
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: List Box Problem

    Add the following to your window declaration for the ListBox that is giving you the trouble:

    Select (LISTITEM lItem)
    Agent.SetOption(OPT_VERIFY_RESPONDING, FALSE)
    derived::Select (lItem)
    Agent.SetOption(OPT_VERIFY_RESPONDING, TRUE)

    This way you don't have to have the extra code in your testcases.

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

  4. #4
    Junior Member
    Join Date
    Mar 2002
    Location
    Chennai,Tamil Nadu,India
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: List Box Problem

    Hi,

    it's Working Fine.
    thank u.

    with regards,
    Myils.

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

 

 

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 02:29 PM.

Copyright BetaSoft Inc.