Git Product home page Git Product logo

Comments (8)

01vadim10 avatar 01vadim10 commented on May 7, 2024

Hi, @Nfactor26!
I have the same problem with ComboBox in SwingSet2 from JDK demo samples. Did you solve it?

from access-bridge-explorer.

Nfactor26 avatar Nfactor26 commented on May 7, 2024

No. I spent several hours but could not get it working . Since i had the dropdown control and option control already looked up , i retrieved their bounding box and then used mouse simulation to actually move the mouse and perform click on dropdown control followed by option to select.

from access-bridge-explorer.

rpaquay avatar rpaquay commented on May 7, 2024

Have you tried calling the "click" action on the newly selected item of the combo box? (using the DoAccessibleActions method).

from access-bridge-explorer.

01vadim10 avatar 01vadim10 commented on May 7, 2024

@rpaquay yes. I tried all possible ways to add selection item to ComboBox. I used to

  1. AddAccessibleSelectionFromContext()
  2. Created RequestFocus() for different items(ComboBox, List, ListItem)
  3. Actions for ComboBox and ListItem(label).

About "click". It works similarly to AddAccessibleSelectionFromContext() method, after DoAccessibleActions() list item would be selected but action "click" doesn't occur

from access-bridge-explorer.

thikon avatar thikon commented on May 7, 2024

Does anyone know what is the solution?

from access-bridge-explorer.

Srivasanthioruganti avatar Srivasanthioruganti commented on May 7, 2024

Events_PropertySelectionChange is being triggered whenever we try to change the selection in the combo box,but is there any specific event that will capture once the value is changed in the combo box. Anyone have a solution,Please let me know how to capture the data every time value is changed in the combo box.

from access-bridge-explorer.

thikon avatar thikon commented on May 7, 2024

For selected index on combobox please try to use Functions.AddAccessibleSelectionFromContext()

void AddAccessibleSelectionFromContext(int vmid, JavaObjectHandle asel, int i)

int i -> means index of value in combobox.

from access-bridge-explorer.

AngelinaPl avatar AngelinaPl commented on May 7, 2024

After calling AddAccessibleSelectionFromContext(int vmid, JavaObjectHandle asel, int i) you should simulate key stroke AccessibleKeyCode.ACCESSIBLE_VK_ENTER. It works for me.

from access-bridge-explorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.