M.LAZ Active Member Licensed User Longtime User Jun 11, 2023 #1 in activity we use this code B4X: For Each v As B4XView In Activity.GetAllViewsRecursive ' B4XPages.MainPage.Root.GetAllViewsRecursive v.Left = v.Parent.Width - v.Left - v.Width Next is B4XPages.MainPage.Root equivalent to Activity.GetAllViewsRecursive? MainPage also include a customlistview thanks Last edited: Jun 11, 2023
in activity we use this code B4X: For Each v As B4XView In Activity.GetAllViewsRecursive ' B4XPages.MainPage.Root.GetAllViewsRecursive v.Left = v.Parent.Width - v.Left - v.Width Next is B4XPages.MainPage.Root equivalent to Activity.GetAllViewsRecursive? MainPage also include a customlistview thanks
P PaulMeuris Active Member Licensed User Jun 12, 2023 #2 In the attached zip-file you can find an example of how to use GetAllViewsRecursive and the B4Xpages. In the B4XMainPage the Root and CustomListView1 variables are public so they can be used in the page2. Happy coding! Attachments testenvironment28.zip 13.3 KB · Views: 86 Upvote 1
In the attached zip-file you can find an example of how to use GetAllViewsRecursive and the B4Xpages. In the B4XMainPage the Root and CustomListView1 variables are public so they can be used in the page2. Happy coding!
M.LAZ Active Member Licensed User Longtime User Jun 12, 2023 #3 it's a great job thanks for helping me Upvote 0