Sign in to follow this  
Followers 0
motormad

Visible text

2 posts in this topic

I set the focus with

ControlFocus("[CLASS:ThunderRT5Form]", "", "[CLASS:ApexGrid.19; INSTANCE:1]")

Know i will scrol down in this 'listbox' until the visible text =40300.

Whats the best way of doing that?

Thanx

Share this post


Link to post
Share on other sites



If that "ApexGrid.19" is really a grid control, maybe you don't. Actual Grid controls, as compiled by Delphi for example, don't respond to the standard Windows APIs that AutoIt uses. You would be left with more coarse work-arounds, like send "{DOWN}", then "^c", then check the text in the clipboard, and repeat until you hit the desired value. No guarantee even that would work.

If it was a normal Windows API ListBox control, you could directly test if a particular item was visible/selected by either ControlCommand() or the _GUICtrlListBox_* functions of the GuiListBox.au3 UDF.

:graduated:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0