Paul_ Member Licensed User Longtime User Oct 4, 2021 #1 I am using the Accessibility lib for focusing the views when the user moves the D-Pad. It works perfectly for normal views but for some reason it does not like the CustomListView and throws a "Types do not match error"? Do I have to use a different syntax when referencing a CustomListView with the Accessibility lib? I have attached captures from the IDE and the IDE error. Attachments Access1.jpg 71.3 KB · Views: 233 Access2.jpg 61.3 KB · Views: 235
I am using the Accessibility lib for focusing the views when the user moves the D-Pad. It works perfectly for normal views but for some reason it does not like the CustomListView and throws a "Types do not match error"? Do I have to use a different syntax when referencing a CustomListView with the Accessibility lib? I have attached captures from the IDE and the IDE error.
Erel B4X founder Staff member Licensed User Longtime User Oct 4, 2021 #2 Please post code as text instead of screenshot. CustomListView is not a view by itself. CustomListView.AsView will return a view. [B4X] How to get <custom view here> from <CLV or any other container> Upvote 0
Please post code as text instead of screenshot. CustomListView is not a view by itself. CustomListView.AsView will return a view. [B4X] How to get <custom view here> from <CLV or any other container>
Paul_ Member Licensed User Longtime User Oct 4, 2021 #3 Erel said: Please post code as text instead of screenshot. CustomListView is not a view by itself. CustomListView.AsView will return a view. [B4X] How to get <custom view here> from <CLV or any other container> Click to expand... My apologies for the screen captures, I just thought it would be clearer for this instance. Thank you for the correct syntax, now all working Upvote 0
Erel said: Please post code as text instead of screenshot. CustomListView is not a view by itself. CustomListView.AsView will return a view. [B4X] How to get <custom view here> from <CLV or any other container> Click to expand... My apologies for the screen captures, I just thought it would be clearer for this instance. Thank you for the correct syntax, now all working