L liulifeng77 Active Member Licensed User Longtime User May 21, 2022 #1 hi, here is my code: B4X: Copy Dim contlist As List = page.GetAllComponentsOfType(ABM.UITYPE_ABMCONTAINER) Log(contlist.Size) For i = 0 To contlist.size - 1 Dim cont As ABMContainer = ABM.CastABMComponent(contlist.Get(i)) Log(cont.id) Next there are many repetitive elements in contlist. the correct number should be only two. Is it a bug? thanks a lot!
hi, here is my code: B4X: Copy Dim contlist As List = page.GetAllComponentsOfType(ABM.UITYPE_ABMCONTAINER) Log(contlist.Size) For i = 0 To contlist.size - 1 Dim cont As ABMContainer = ABM.CastABMComponent(contlist.Get(i)) Log(cont.id) Next there are many repetitive elements in contlist. the correct number should be only two. Is it a bug? thanks a lot!