SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Aug 1999
    Location
    Irvine, CA
    Posts
    157
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can\'t SetState of VBCheckBox control

    Has anyone seen a problem with setting the state of a VBCheckBox control? The methods that fail for me are SetState, Check, Uncheck, and Toggle. I get the "Control is not responding" error, and the check box is NOT checked/unchecked.

    I am using SilkTest 5.0.3 on Windows 2000. The AUT is written most in Visual C++ with some VB in-proc COM objects.
    Matt Gray

  2. #2
    Guest

    Re: Can\'t SetState of VBCheckBox control

    I ran into a problem with this when our developers were using a separate label object instead of the check boxes' caption property. Once the developers used the checkbox in the appropriate way, the problem vanished.

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

    Re: Can\'t SetState of VBCheckBox control

    I have same problem for long time.Because I do not want to use coordinates every time I have to use deferent approaches. For most cases GetRect() function can help me to locate and then Check() CheckBoxes.
    Thanks.

  4. #4
    Junior Member
    Join Date
    Jan 2001
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can\'t SetState of VBCheckBox control

    Try getting the focus on the checkbox and then use 'spacebar' key to toggle the state.

 

 

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:14 PM.

Copyright BetaSoft Inc.