SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jan 2001
    Location
    Westborough, mA, USa
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Status of an HtmlImage(Enabled/Disabled)

    Hi All,

    I am trying to find the status of an HtmlImage(In the application I am testing for
    a button is seen as a image) whether it is enabled/disabled.

    Any suggestions

    Thanks

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Waltham, MA
    Posts
    107
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Status of an HtmlImage(Enabled/Disabled)

    Use the method IsEnabled(). This will return a TRUE or FALSE.

  3. #3
    Member
    Join Date
    Jan 2001
    Location
    Westborough, mA, USa
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Status of an HtmlImage(Enabled/Disabled)

    Hi BostonSilk

    Thanks for ur reply. IsEnabled works only for Buttons and not for links in my case.

  4. #4
    Senior Member
    Join Date
    Jul 1999
    Location
    New York, NY, USA
    Posts
    137
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Status of an HtmlImage(Enabled/Disabled)

    Is this one of those images where it displays two different gif files depending on whether it's ON or OFF, or Mouseover?
    If it is you can just get the image properyies and do a verify to find out which one is displaying. I don't test those changes automatically and just give it the manual once over. When I define an Image that changes ON,OFF Rollover etc what I do is wildcard the include file so that I don't have to remember so many names. here are a couple of simple solutions to automate that.

  5. #5
    bjc
    bjc is offline
    Member
    Join Date
    Jan 2000
    Location
    CT
    Posts
    66
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Status of an HtmlImage(Enabled/Disabled)

    I have been using IsEnabled() for testing buttons in a web application and have not had any problems. The buttons are really HTML Images (with underlying links).

 

 

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.