SPONSORS:






User Tag List

Results 1 to 2 of 2

Thread: Winclass - help

  1. #1
    Member
    Join Date
    Oct 1999
    Location
    St. Paul, MN
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Winclass - help

    I am testing a web application and often times within the browser I will see a object that looks like a pushbutton - but it has the object property of HtmlText. Although a co-worker on another operating system sees the same object as you would expect HtmlPushbutton.

    I'm trying to create a winclass to take care of this and I'm having some problems.

    This is what I've done:

    winclass GeneralButton : Control
    multitag "HtmlPushButton"
    "HtmlText"

    GeneralButton cmdSearch
    multitag "Search"
    "Search[1]"

    This actually seemed to be working great until I got to a page that has an HtmlPopupList with a tag of "Search" - and it's trying to click that instead of the HtmlText Search button.

    Any ideas? I've tried changing the derived class from Control to HtmlPushbutton - but then I get the error: *** Error: Window type mismatch - Expecting a PushButton

    Thanks much,
    Dana


  2. #2
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,439
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Winclass - help

    The examples in the Online Help/multitag statement might help you find the unique tag that you need in your windows declaration.
    Something in the format:
    "[DialogBox]Open/TextField/Search"
    for one then
    "[DialogBox]Open/HtmlPopupList/Search"
    for the other.

 

 

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 04:19 PM.

Copyright BetaSoft Inc.