B4J Question AS_SelectionList - Object should first be initialized (B4XView)

T201016

Active Member
Licensed User
Longtime User
Steps:

1. I launch the project
2. I click the Click Me button
3. I fill in the second field with content, e.g.: st
- I have all elements highlighted (st)

4. Click on the "Stream mapping (Audio | Video)" item
- the full sublist of items opens

5. I add a few additional characters to "st", e.g. "oooo", so I have "stoooo"
- the list closes with the message "no items found"
- everything is going OK for now

6. When I remove the last four "o" characters from the field
- and click on the "Stream mapping (Audio | Video)" element

I get this above error: ...Object should first be initialized (B4XView).

But when I click on the same item again, the sublist items are displayed
no more error message. As if this B4Xview initialized itself. Weird?

What element should be re-initialized after the function? : AudioTrack_SelectionList1.ClearSearch



 

Attachments

  • Example.zip
    4.1 KB · Views: 27

T201016

Active Member
Licensed User
Longtime User
Please try
Hello, @Alexander Stolte

You have created a very useful thing, we are very grateful to you for this and other libraries.
That's kind of why I'm watching their development. Thanks for the improved library, but
one more case the library does not fully support:

when I'm going to remove the letter "s" from the search edit box
using (clear button) the list is not displayed and the same error occurs
as in the previous version of the example.

It happens to me quite rarely, but it does happen.

 

Attachments

  • the result of the action.png
    9.7 KB · Views: 16
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…