Forum Discussion
What properties are exposed in Object Browser for your combo box?
- tristaanogre2 years agoEsteemed Contributor
Right here is your problem, Oferv
This the propery of the combo box that gives the captions separated by the "pipe" character. Notice that there are no values in between the pipes. So, technically speaking, each item in your combo box, while it DISPLAYS a caption, doesn't actually have one. The caption is coming from some other code, probably owner-drawn or some such thing. They are probably images, not text. This is why ClickItem will not work.
And this probably backs up my assumption. Notice the "wText" field is not actually displaying the text as it appears on screen but appears to be calling some sort of object method that looks up and renders the text.
So, unfortunately, ClickItem is probably not going to work for you using the caption. You might need to use some sort of "ClickText" execution where you click the combo box to get the drop down and then find and click on the appropriate text string.
- Oferv2 years agoSuper Contributor
Yeah I saw that as well.
Can you please give an example of how i can use ClickText to find the correct text? where can i find this method? there's no ClickText method in that comboBox
Related Content
- 5 years ago
- 2 years ago
- 2 years ago
- 4 years ago
Recent Discussions
- 2 days ago