SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jul 2006
    Location
    India
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Getting a Text from a disabled TextField

    Hi,
    I have a TextField displays a String, but it is disabled.
    How to read the string from the disabled TextField?

    Kindly advice me.

    Thanks in advance,
    SenthilKUmar.

  2. #2
    Junior Member
    Join Date
    Nov 2006
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting a Text from a disabled TextField


    Use <ObjectName>.GetProperty('Text')

    This should work.

    Manohar

  3. #3
    Member
    Join Date
    May 2001
    Posts
    39
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting a Text from a disabled TextField

    Set Agent.SetOption (OPT_VERIFY_ENABLED, FALSE) and then use GetText() method. It should server the purpose.

  4. #4
    Advanced Member
    Join Date
    Oct 1999
    Location
    Chicago, IL
    Posts
    652
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting a Text from a disabled TextField

    [ QUOTE ]
    Set Agent.SetOption (OPT_VERIFY_ENABLED, FALSE) and then use GetText() method. It should server the purpose.

    [/ QUOTE ]
    Then as good practice, I would set the option back to TRUE right after you get the text.

  5. #5
    Junior Member
    Join Date
    Jul 2006
    Location
    India
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting a Text from a disabled TextField

    Thanks to ksmanu,Prashanth and Brian.
    It worked in both the ways. Thanks once again for your response.

    - Kumar

 

 

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 10.00%
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 06:04 AM.

Copyright BetaSoft Inc.