SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
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)
    Total Downloaded
    0

    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
    Points for Confirmed Friends
    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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:36 PM.

Copyright BetaSoft Inc.