SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2001
    Location
    Berkeley, CA, USA
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DoubleClick is not working for an HtmlListbox

    Ever since the listbox in question has been wrapped in a frame, the DoubleClick method has stopped working.

    No error is raised at run-time, but if you record actions you get the following:

    [ ] BrowserPage.SetActive ()
    [ ] BrowserPage.BrowserChild("main").BrowserChild("*** etAdminBody").BrowserChild("tabContent").HtmlListB ox("Group Name:").Select ("+Argentina")
    [ ] BrowserPage.BrowserChild("main").BrowserChild("*** etAdminBody").BrowserChild("tabContent").HtmlListB ox("Group Name:").Select ("+Australia")
    [ ] // WARNING: mouse release not recorded - unable to find target window
    [ ] BrowserPage.BrowserChild("main").BrowserChild("*** etAdminBody").BrowserChild("tabContent").HtmlListB ox("Group Name:").Select ("+Austria")

    Anyone have an idea how to work around this problem? The frame the developer used does not show up in the window declaration, so I can't ignore it.

  2. #2
    Member
    Join Date
    Dec 2002
    Posts
    73
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DoubleClick is not working for an HtmlListbox

    Here are a few things to try:

    ~ 'MultiClick' instead of DoubleClick
    ~ Get low-level on it and try a 'PressMouse'/'ReleaseMouse' (compacted in your own double click method)
    ~ How about just a 'Click' twice? Seems like it should happen quickly enough, again you can put this in your own doubleclick method.

    Is this a listbox where you are "moving" an item from one list to another? (like to an "add" listbox") If so, use the 'select' method to pick an item, then send an 'enter' via typekeys to the window.

    HEY BRUCE!!!!

    Todd

 

 

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 11:01 PM.

Copyright BetaSoft Inc.