I tried for more than an hour using only the first line and could not come up with it. But how are you supposed to know ro add the second line:
SearchTemplate.SearchField.Update. That is why taking advantage if the XUI Views lib is still not popular because there are so many properties and memebers. Most of the time, all you do is guess and hope it works. It is a hit and miss
1. It took me 10 seconds to find the post with the answer.
2. How do you know that it is not popular? You should say that YOU find it difficult to use. Don't assume that you represent all members.
3. There is a reason why there are many properties and fields exposed. XUI Views, B4XDialog, B4XTable, xCLV and other views implemented in B4X are built to be highly customizable and flexible. The downside of it is that many things are exposed. I also recommend developers to check the source code. It is inside the b4xlib.
The problem is not finding it. The difficulty is : When do you know you have to use the second line: SearchTemplate.SearchField.Update. Most properties do not require it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.