SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2002
    Posts
    77
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Find Scroll Bar Pos in Java appln

    hi,

    One more issue, i have in java appln with qarun

    I am not able to find a scrollbar position in java appln using qarun.

    I did like this.


    1. hCtrl = ScrollBarFind("@HS")
    2. scrpos = ScrollBarPos(hCtrl)

    i am getting a error on 2, saying, this operation cannot be performed on this control.

    Even i tried using user32.dll with a function 'GetScrollPos',but in vain

    Any clue? Any solution?

    Thanks.

    ------------------
    Sunnie
    Sunnie

  2. #2
    Member
    Join Date
    Aug 2002
    Location
    Dallas, TX
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Find Scroll Bar Pos in Java appln

    Unfortunately, QARun works best with pure native windows widgets (but only the ones that have been around since 1982). I don't know how Java does it (I haven't automated java applications) but unless java "exports" the control handles of the scrollbars to the windows interface, you might have to work them out based on coordinate size of the window. (ie: WindowX - 10, WindowY - 10 is lower right corner)

    Good luck!

    --Robert

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Location
    Omaha,NE,USA
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Find Scroll Bar Pos in Java appln

    hi,

    if you don't find the scrollbar "ControlId" use the following syntax.

    The syntax you can also use to find the scrollbar is exists or not.

    ret = ScrollBarWindow()



    ------------------

 

 

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 9.38%
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 09:55 PM.

Copyright BetaSoft Inc.